Protocols
The following protocols are available globally.
-
Representation of an authenticated account in the Microsoft identity platform. Use MSALAccount to query information about the account, like username or id_token claims. Store
identifier
for getting tokens silently from MSAL at a later point.Note
For a list of standard id_token claims in the Microsoft Identity platform, see https://docs.microsoft.com/en-us/azure/active-directory/develop/id-tokensDeclaration
Objective-C
@protocol MSALAccount <NSObject>
Swift
protocol MSALAccountProtocol : NSObjectProtocol
-
Undocumented
See moreDeclaration
Objective-C
@protocol MSALAuthenticationSchemeProtocol <NSObject> @property (nonatomic, readonly) MSALAuthScheme scheme; @property (nonatomic, readonly) NSString *authenticationScheme; @end
Swift
protocol MSALAuthenticationSchemeProtocol : NSObjectProtocol
-
Use this protocol if you have external account storage in addition to MSAL account storage. For example, if you find yourself in situation where on each MSAL completion block invocation you are updating accounts in your own storage, it might be beneficial to instead use MSALExternalAccountProviding extensibility feature.
See moreDeclaration
Objective-C
@protocol MSALExternalAccountProviding <NSObject>
Swift
protocol MSALExternalAccountProviding : NSObjectProtocol
-
A protocol that objects adopt to provide deserialization from JSON.
See moreDeclaration
Objective-C
@protocol MSALJsonDeserializable <NSObject>
Swift
protocol MSALJsonDeserializable : NSObjectProtocol
-
A protocol that objects adopt to provide serialization to JSON.
See moreDeclaration
Objective-C
@protocol MSALJsonSerializable <NSObject>
Swift
protocol MSALJsonSerializable : NSObjectProtocol
-
Class implementing MSALSerializedADALCacheProviderDelegate is responsible for persistence and management of ADAL cache on macOS
See moreDeclaration
Objective-C
@protocol MSALSerializedADALCacheProviderDelegate <NSObject>
Swift
protocol MSALSerializedADALCacheProviderDelegate : NSObjectProtocol
-
Protocol that defines the methods of a Credentials delegate
See moreDeclaration
Swift
@objc public protocol CredentialsDelegate
-
Protocol that defines the methods of a MFARequestChallenge delegate
See moreDeclaration
Swift
@objc public protocol MFARequestChallengeDelegate
-
Protocol that defines the methods of a MFAGetAuthMethodsDelegate delegate
See moreDeclaration
Swift
@objc public protocol MFAGetAuthMethodsDelegate
-
Protocol that defines the methods of a MFAGetAuthMethodsDelegate delegate
See moreDeclaration
Swift
@objc public protocol MFASubmitChallengeDelegate
-
Protocol that defines the methods of a ResetPasswordStart delegate
See moreDeclaration
Swift
@objc public protocol ResetPasswordStartDelegate
-
Protocol that defines the methods of a ResetPasswordVerifyCode delegate
See moreDeclaration
Swift
@objc public protocol ResetPasswordVerifyCodeDelegate
-
Protocol that defines the methods of a ResetPasswordResendCode delegate
See moreDeclaration
Swift
@objc public protocol ResetPasswordResendCodeDelegate
-
Protocol that defines the methods of a ResetPasswordRequired delegate
See moreDeclaration
Swift
@objc public protocol ResetPasswordRequiredDelegate
-
Protocol that defines the methods of a SignInAfterResetPassword delegate
See moreDeclaration
Swift
@objc public protocol SignInAfterResetPasswordDelegate
-
Protocol that defines the methods of a SignInAfterSignUp delegate
See moreDeclaration
Swift
@objc public protocol SignInAfterSignUpDelegate
-
Protocol that defines the methods of a SignInStart delegate
See moreDeclaration
Swift
@objc public protocol SignInStartDelegate
-
Protocol that defines the methods of a SignInPasswordRequired delegate
See moreDeclaration
Swift
@objc public protocol SignInPasswordRequiredDelegate
-
Protocol that defines the methods of a SignInResendCode delegate
See moreDeclaration
Swift
@objc public protocol SignInResendCodeDelegate
-
Protocol that defines the methods of a SignInVerifyCode delegate
See moreDeclaration
Swift
@objc public protocol SignInVerifyCodeDelegate
-
Protocol that defines the methods of a SignUpStart delegate
See moreDeclaration
Swift
@objc public protocol SignUpStartDelegate
-
Protocol that defines the methods of a SignUpVerifyCode delegate
See moreDeclaration
Swift
@objc public protocol SignUpVerifyCodeDelegate
-
Protocol that defines the methods of a SignUpResendCode delegate
See moreDeclaration
Swift
@objc public protocol SignUpResendCodeDelegate
-
Protocol that defines the methods of a SignUpPasswordRequired delegate
See moreDeclaration
Swift
@objc public protocol SignUpPasswordRequiredDelegate
-
Protocol that defines the methods of a SignUpAttributesRequired delegate
See moreDeclaration
Swift
@objc public protocol SignUpAttributesRequiredDelegate