Class: WorkOS::RadarSmsChallengeCodeSessionAuthenticateRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::RadarSmsChallengeCodeSessionAuthenticateRequest
- Defined in:
- lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ client_id: :client_id, client_secret: :client_secret, grant_type: :grant_type, code: :code, verification_id: :verification_id, phone_number: :phone_number, pending_authentication_token: :pending_authentication_token, ip_address: :ip_address, device_id: :device_id, user_agent: :user_agent }.freeze
Instance Attribute Summary collapse
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#code ⇒ Object
Returns the value of attribute code.
-
#device_id ⇒ Object
Returns the value of attribute device_id.
-
#grant_type ⇒ Object
Returns the value of attribute grant_type.
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#pending_authentication_token ⇒ Object
Returns the value of attribute pending_authentication_token.
-
#phone_number ⇒ Object
Returns the value of attribute phone_number.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
-
#verification_id ⇒ Object
Returns the value of attribute verification_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ RadarSmsChallengeCodeSessionAuthenticateRequest
constructor
A new instance of RadarSmsChallengeCodeSessionAuthenticateRequest.
Constructor Details
#initialize(json) ⇒ RadarSmsChallengeCodeSessionAuthenticateRequest
Returns a new instance of RadarSmsChallengeCodeSessionAuthenticateRequest.
32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb', line 32 def initialize(json) hash = self.class.normalize(json) @client_id = hash[:client_id] @client_secret = hash[:client_secret] @grant_type = hash[:grant_type] @code = hash[:code] @verification_id = hash[:verification_id] @phone_number = hash[:phone_number] @pending_authentication_token = hash[:pending_authentication_token] @ip_address = hash[:ip_address] @device_id = hash[:device_id] @user_agent = hash[:user_agent] end |
Instance Attribute Details
#client_id ⇒ Object
Returns the value of attribute client_id.
20 21 22 |
# File 'lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb', line 20 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
20 21 22 |
# File 'lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb', line 20 def client_secret @client_secret end |
#code ⇒ Object
Returns the value of attribute code.
20 21 22 |
# File 'lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb', line 20 def code @code end |
#device_id ⇒ Object
Returns the value of attribute device_id.
20 21 22 |
# File 'lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb', line 20 def device_id @device_id end |
#grant_type ⇒ Object
Returns the value of attribute grant_type.
20 21 22 |
# File 'lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb', line 20 def grant_type @grant_type end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
20 21 22 |
# File 'lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb', line 20 def ip_address @ip_address end |
#pending_authentication_token ⇒ Object
Returns the value of attribute pending_authentication_token.
20 21 22 |
# File 'lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb', line 20 def pending_authentication_token @pending_authentication_token end |
#phone_number ⇒ Object
Returns the value of attribute phone_number.
20 21 22 |
# File 'lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb', line 20 def phone_number @phone_number end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
20 21 22 |
# File 'lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb', line 20 def user_agent @user_agent end |
#verification_id ⇒ Object
Returns the value of attribute verification_id.
20 21 22 |
# File 'lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb', line 20 def verification_id @verification_id end |