RegistrationChallenge
public class RegistrationChallenge : JSONSerializableObject
Encapsulates a registration challenge that must be answered in order to successfully register a new user.
-
Challenge type.
Declaration
Swift
public var type: ChallengeType { get set } -
One time use and short lived nonce for verifying the challenge.
Declaration
Swift
public var nonce: String? -
Challenge expiry.
Declaration
Swift
public var expiry: Date? -
Answer to the challenge.
Declaration
Swift
public var answer: String? -
Build type of the client from which the challenge was created, e.g. “debug” or “release”.
Declaration
Swift
public var buildType: String? -
Creates and returns the response to the given challenge.
Declaration
Swift
public func createResponse() -> JSONSerializableObjectReturn Value
Challenge response.
RegistrationChallenge Class Reference