Class: TD::Types::AuthenticationCodeType::FirebaseIos

Inherits:
TD::Types::AuthenticationCodeType show all
Defined in:
lib/tdlib/types/authentication_code_type/firebase_ios.rb

Overview

A digit-only authentication code is delivered via Firebase Authentication to the official iOS application.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#lengthInteger

Length of the code.

Returns:

  • (Integer)

    the current value of length



9
10
11
# File 'lib/tdlib/types/authentication_code_type/firebase_ios.rb', line 9

def length
  @length
end

#push_timeoutInteger

Time after the next authentication method is supposed to be used if verification push notification isn’t received, in seconds.

Returns:

  • (Integer)

    the current value of push_timeout



9
10
11
# File 'lib/tdlib/types/authentication_code_type/firebase_ios.rb', line 9

def push_timeout
  @push_timeout
end

#receiptTD::Types::String

Receipt of successful application token validation to compare with receipt from push notification.

Returns:

  • (TD::Types::String)

    the current value of receipt



9
10
11
# File 'lib/tdlib/types/authentication_code_type/firebase_ios.rb', line 9

def receipt
  @receipt
end