CredentialsDelegate
@objc
public protocol CredentialsDelegate
Protocol that defines the methods of a Credentials delegate
-
Notifies the delegate that the operation resulted in an error.
Declaration
Swift
@MainActor func onAccessTokenRetrieveError(error: RetrieveAccessTokenError)Parameters
errorAn error object indicating why the operation failed.
-
Notifies the delegate that the operation completed successfully.
Note
If a flow requires this optional method and it is not implemented, thenonAccessTokenRetrieveError(error:)will be called.Declaration
Swift
@MainActor @objc optional func onAccessTokenRetrieveCompleted(result: MSALNativeAuthTokenResult)Parameters
resultThe access token result.
View on GitHub