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
phoneNumber
A phone number that is being authenticated
type
Describes the way the code was sent to the user
nextType
Describes the way the next code will be sent to the user; may be null
timeout
Timeout before the code should be re-sent, in seconds