MSALNativeAuthCodeRequiredState
@objcMembers
public class MSALNativeAuthCodeRequiredState : MSALNativeAuthState
The server requires the user to verify a one-time code.
Continue with submitCode(_:delegate:) or request a new code with resendCode(delegate:).
Warning
This API is experimental. It may be changed in the future without notice. Do not use in production applications.-
A masked destination the code was sent to (e.g. a partially obfuscated email).
Declaration
Swift
public let sentTo: String -
The channel the code was sent through.
Declaration
Swift
public let channel: MSALNativeAuthChannelType -
The expected length of the code.
Declaration
Swift
public let codeLength: Int -
Submit a one-time verification code.
Declaration
Swift
public func submitCode(_ code: String, delegate: MSALNativeAuthFlowDelegate) -
Request the server to resend the one-time code.
Declaration
Swift
public func resendCode(delegate: MSALNativeAuthFlowDelegate) -
Declaration
Swift
public override var description: String { get }
View on GitHub