MFAGetAuthMethodsDelegate
@objc
public protocol MFAGetAuthMethodsDelegate
Protocol that defines the methods of a MFAGetAuthMethodsDelegate delegate
-
Notifies the delegate that the operation resulted in an error.
Declaration
Swift
@MainActor func onMFAGetAuthMethodsError(error: MFAGetAuthMethodsError, newState: MFARequiredState?)Parameters
errorAn error object indicating why the operation failed.
newStateAn object representing the new state of the flow with follow on methods.
-
Notifies the delegate that the list of authentication methods is now available.
Note
If a flow requires this optional method and it is not implemented, thenonMFAGetAuthMethodsError(error:)will be called.Declaration
Swift
@MainActor @objc optional func onMFAGetAuthMethodsSelectionRequired(authMethods: [MSALAuthMethod], newState: MFARequiredState)Parameters
authMethodslist of authentication method.
newStateAn object representing the new state of the flow with follow on methods.
View on GitHub