SMIChallengeReason

Objective-C

enum SMIChallengeReason : NSUInteger {}

Swift

enum ChallengeReason : UInt, @unchecked Sendable

The reason for a credential challenge. Possible values:

  • SMIChallengeReasonNone
  • SMIChallengeReasonInitial
  • SMIChallengeReasonMalformed
  • SMIChallengeReasonExpired
  • SMIChallengeReasonRefresh
  • The verification token is valid. This is a terminating state for determining user identity.

    Declaration

    Objective-C

    SMIChallengeReasonNone = 0

    Swift

    case none = 0
  • The initial challenge for an user verification token.

    Declaration

    Objective-C

    SMIChallengeReasonInitial

    Swift

    case initial = 1
  • The passed in token was malformed.

    Declaration

    Objective-C

    SMIChallengeReasonMalformed

    Swift

    case malformed = 2
  • The passed in token has expired.

    Declaration

    Objective-C

    SMIChallengeReasonExpired

    Swift

    case expired = 3
  • The verification token from the server has expired and user verification is required again.

    Declaration

    Objective-C

    SMIChallengeReasonRefresh

    Swift

    case refresh = 4