PasswordChangeError

public enum PasswordChangeError : MobileAuthenticationClientError
extension PasswordChangeError: LocalizedError

The object that informs that an error occurred during password change.

  • The specified user in username(_:) does not have an enrolled password.

    Declaration

    Swift

    case PasswordNotEnrolled
  • The password change was cancelled.

    Declaration

    Swift

    case UserCanceled
  • The password was locked because of too many failures.

    Declaration

    Swift

    case PasswordLocked
  • The iOS device has no passcode set.

    Declaration

    Swift

    case NoDeviceLockError
  • Unknown error, handling not categorized error cases.

    Requires

    iOS platform

    Declaration

    Swift

    case Unknown(message: String? = nil, cause: Error? = nil)

    Parameters

    message

    Additional information about the error.

    cause

    The underlying error that is related to the error occurred.

Localized descriptions

  • A message describing what error occurred.

    Declaration

    Swift

    public var errorDescription: String? { get }