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-tokens
    See more

    Declaration

    Objective-C

    @protocol MSALAccount <NSObject>

    Swift

    protocol MSALAccountProtocol : NSObjectProtocol
  • Undocumented

    See more

    Declaration

    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 more

    Declaration

    Objective-C

    @protocol MSALExternalAccountProviding <NSObject>

    Swift

    protocol MSALExternalAccountProviding : NSObjectProtocol
  • A protocol that objects adopt to provide deserialization from JSON.

    See more

    Declaration

    Objective-C

    @protocol MSALJsonDeserializable <NSObject>

    Swift

    protocol MSALJsonDeserializable : NSObjectProtocol
  • A protocol that objects adopt to provide serialization to JSON.

    See more

    Declaration

    Objective-C

    @protocol MSALJsonSerializable <NSObject>

    Swift

    protocol MSALJsonSerializable : NSObjectProtocol
  • Class implementing MSALSerializedADALCacheProviderDelegate is responsible for persistence and management of ADAL cache on macOS

    See more

    Declaration

    Objective-C

    @protocol MSALSerializedADALCacheProviderDelegate <NSObject>

    Swift

    protocol MSALSerializedADALCacheProviderDelegate : NSObjectProtocol
  • Protocol that defines the methods of a Credentials delegate

    See more

    Declaration

    Swift

    @objc
    public protocol CredentialsDelegate
  • Protocol that defines the methods of a ResetPasswordStart delegate

    See more

    Declaration

    Swift

    @objc
    public protocol ResetPasswordStartDelegate
  • Protocol that defines the methods of a ResetPasswordVerifyCode delegate

    See more

    Declaration

    Swift

    @objc
    public protocol ResetPasswordVerifyCodeDelegate
  • Protocol that defines the methods of a ResetPasswordResendCode delegate

    See more

    Declaration

    Swift

    @objc
    public protocol ResetPasswordResendCodeDelegate
  • Protocol that defines the methods of a ResetPasswordRequired delegate

    See more

    Declaration

    Swift

    @objc
    public protocol ResetPasswordRequiredDelegate
  • Protocol that defines the methods of a SignInAfterResetPassword delegate

    See more

    Declaration

    Swift

    @objc
    public protocol SignInAfterResetPasswordDelegate
  • Protocol that defines the methods of a SignInAfterSignUp delegate

    See more

    Declaration

    Swift

    @objc
    public protocol SignInAfterSignUpDelegate
  • Protocol that defines the methods of a SignInStart delegate

    See more

    Declaration

    Swift

    @objc
    public protocol SignInStartDelegate
  • Protocol that defines the methods of a SignInPasswordRequired delegate

    See more

    Declaration

    Swift

    @objc
    public protocol SignInPasswordRequiredDelegate
  • Protocol that defines the methods of a SignInResendCode delegate

    See more

    Declaration

    Swift

    @objc
    public protocol SignInResendCodeDelegate
  • Protocol that defines the methods of a SignInVerifyCode delegate

    See more

    Declaration

    Swift

    @objc
    public protocol SignInVerifyCodeDelegate
  • Protocol that defines the methods of a SignUpStart delegate

    See more

    Declaration

    Swift

    @objc
    public protocol SignUpStartDelegate
  • Protocol that defines the methods of a SignUpVerifyCode delegate

    See more

    Declaration

    Swift

    @objc
    public protocol SignUpVerifyCodeDelegate
  • Protocol that defines the methods of a SignUpResendCode delegate

    See more

    Declaration

    Swift

    @objc
    public protocol SignUpResendCodeDelegate
  • Protocol that defines the methods of a SignUpPasswordRequired delegate

    See more

    Declaration

    Swift

    @objc
    public protocol SignUpPasswordRequiredDelegate
  • Protocol that defines the methods of a SignUpAttributesRequired delegate

    See more

    Declaration

    Swift

    @objc
    public protocol SignUpAttributesRequiredDelegate