TradableTwoFactorAuthenticationResponse

@objc public class TradableTwoFactorAuthenticationResponse: NSObject

The client’s response to the TradableTwoFactorAuthenticationChallenge. Should be polled to the endpoint until a 200 OK is returned. If this occurs during authentication, the 200 response will be the TradableAccessToken that would have been returned by authentication methods if there had been no two factor authentication challenge.

  • The token from the TradableTwoFactorAuthenticationChallenge.

    Declaration

    Swift

    @objc public let token: String
  • If required by the specific type of two-factor authentication, the user may have provided some input here.

    Declaration

    Swift

    @objc public let userInput: String?
  • Simple description of this object.

    Declaration

    Swift

    public override var description: String
  • Creates an object with given parameters.

    Declaration

    Swift

    @objc public init(token: String, userInput: String? = nil)