MSALDeviceInformation

Objective-C

@interface MSALDeviceInformation : NSObject

Swift

class MSALDeviceInformation : NSObject

Information about the device that is applicable to MSAL scenarios.

  • Device mode configured by the administrator

    Declaration

    Objective-C

    @property (nonatomic, readonly) MSALDeviceMode deviceMode;

    Swift

    var deviceMode: Int32 { get }
  • Availability of QR+PIN as an authentication method as configured by the admin

    Declaration

    Objective-C

    @property (nonatomic, readonly) MSALPreferredAuthMethod configuredPreferredAuthMethod;

    Swift

    var configuredPreferredAuthMethod: Int32 { get }
  • Specifies whether AAD SSO extension was detected on the device.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL hasAADSSOExtension;

    Swift

    var hasAADSSOExtension: Bool { get }
  • Additional device information

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSDictionary *_Nonnull extraDeviceInformation;

    Swift

    var extraDeviceInformation: [AnyHashable : Any] { get }