-
Requests the server to send the challenge to the specified auth method or the default one.
Warning
⚠️ this API is experimental. It may be changed in the future without notice. Do not use in production applications.Declaration
Swift
public func requestChallenge(authMethod: MSALAuthMethod? = nil, delegate: MFARequestChallengeDelegate)
Parameters
authMethod
Optional. The authentication method you want to use for sending the challenge
delegate
Delegate that receives callbacks for the operation.
-
Requests the available MFA authentication methods.
Warning
⚠️ this API is experimental. It may be changed in the future without notice. Do not use in production applications.Declaration
Swift
public func getAuthMethods(delegate: MFAGetAuthMethodsDelegate)
Parameters
delegate
Delegate that receives callbacks for the operation.
-
Submits the MFA challenge to the server for verification.
Warning
⚠️ this API is experimental. It may be changed in the future without notice. Do not use in production applications.Declaration
Swift
public func submitChallenge(challenge: String, delegate: MFASubmitChallengeDelegate)
Parameters
challenge
Verification challenge that the user supplies.
delegate
Delegate that receives callbacks for the operation.