ResetPasswordRequiredDelegate
@objc
public protocol ResetPasswordRequiredDelegate
Protocol that defines the methods of a ResetPasswordRequired delegate
-
Notifies the delegate that the operation resulted in an error.
Declaration
Swift
@MainActor func onResetPasswordRequiredError(error: PasswordRequiredError, newState: ResetPasswordRequiredState?)
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 reset password operation completed successfully.
Note
If a flow requires this optional method and it is not implemented, thenonResetPasswordRequiredError(error:newState:)
will be called.Declaration
Swift
@MainActor @objc optional func onResetPasswordCompleted(newState: SignInAfterResetPasswordState)
Parameters
newState
An object representing the new state of the flow with follow on methods.