SmsDescription

public struct SmsDescription : Encodable, Decodable

Description of authorization by sms

  • The number of code symbols that must be entered by the user

    Declaration

    Swift

    public let codeLength: Int
  • The remaining number of sessions

    Declaration

    Swift

    public let sessionsLeft: Int
  • The remaining number of seconds before the expiration of the lifetime of the session.

    Declaration

    Swift

    public let sessionTimeLeft: Int?
  • The remaining number of seconds before the opportunity to create a new session.

    Declaration

    Swift

    public let nextSessionTimeLeft: Int?
  • Undocumented

    Declaration

    Swift

    public init(codeLength: Int,
                sessionsLeft: Int,
                sessionTimeLeft: Int?,
                nextSessionTimeLeft: Int?)