AuthenticationCodeInfo
public struct AuthenticationCodeInfo : Codable, Equatable, FunctionResult
Information about the authentication code that was sent
-
A phone number that is being authenticated
Declaration
Swift
public let phoneNumber: String -
Describes the way the code was sent to the user
Declaration
Swift
public let type: AuthenticationCodeType -
Describes the way the next code will be sent to the user; may be null
Declaration
Swift
public let nextType: AuthenticationCodeType? -
Timeout before the code should be re-sent, in seconds
Declaration
Swift
public let timeout: Int32 -
Information about the authentication code that was sent
Declaration
Swift
public init(phoneNumber: String, type: AuthenticationCodeType, nextType: AuthenticationCodeType?, timeout: Int32)Parameters
phoneNumberA phone number that is being authenticated
typeDescribes the way the code was sent to the user
nextTypeDescribes the way the next code will be sent to the user; may be null
timeoutTimeout before the code should be re-sent, in seconds
View on GitHub
Install in Dash
AuthenticationCodeInfo Structure Reference