ONGPinChallenge Class Reference

Inherits from NSObject
Declared in ONGPinChallenge.h

Overview

Represents authentication with PIN challenge. It provides all information about the challenge and a sender awaiting for a response.

  userProfile

User profile for which authenticate with PIN challenge was sent.

@property (nonatomic, readonly) ONGUserProfile *userProfile

Declared In

ONGPinChallenge.h

  maxFailureCount

Maximum allowed pin attempts for the user.

@property (nonatomic, readonly) NSUInteger maxFailureCount

Declared In

ONGPinChallenge.h

  previousFailureCount

Pin attempts used by the user on this device.

@property (nonatomic, readonly) NSUInteger previousFailureCount

Declared In

ONGPinChallenge.h

  remainingFailureCount

Available pin attempts left for the user on this device.

@property (nonatomic, readonly) NSUInteger remainingFailureCount

Declared In

ONGPinChallenge.h

  error

Error describing cause of failure of previous challenge response. Possible error domains: ONGAuthenticatorRegistrationErrorDomain, ONGGenericErrorDomain

@property (nonatomic, readonly, nullable) NSError *error

Discussion

This error might include the ONGCustomInfo object under the ONGCustomAuthInfoKey. This object will be added to the userInfo of the error in case of automatic PIN fallback from authentication using a custom authenticator.

Declared In

ONGPinChallenge.h

  sender

Sender awaiting for response to the authenticate with PIN challenge.

@property (nonatomic, readonly) id<ONGPinChallengeSender> sender

Declared In

ONGPinChallenge.h