MFASubmitChallengeDelegate
@objc
public protocol MFASubmitChallengeDelegate
Protocol that defines the methods of a MFAGetAuthMethodsDelegate delegate
-
Notifies the delegate that the operation resulted in an error.
Declaration
Swift
@MainActor func onMFASubmitChallengeError(error: MFASubmitChallengeError, newState: MFARequiredState?)
Parameters
error
An error object indicating why the operation failed.
newState
An object representing the new state of the flow with follow on methods.
-
Notifies the delegate that the sign in operation completed successfully.
Note
If a flow requires this optional method and it is not implemented, thenonMFASubmitChallengeError(error:newState:)
will be called.Declaration
Swift
@MainActor @objc optional func onSignInCompleted(result: MSALNativeAuthUserAccountResult)
Parameters
result
An object representing the signed in user account.