Class: WorkOS::RefreshTokenSessionAuthenticateRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::RefreshTokenSessionAuthenticateRequest
- Defined in:
- lib/workos/user_management/refresh_token_session_authenticate_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ client_id: :client_id, client_secret: :client_secret, grant_type: :grant_type, refresh_token: :refresh_token, organization_id: :organization_id, 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.
-
#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.
-
#organization_id ⇒ Object
Returns the value of attribute organization_id.
-
#refresh_token ⇒ Object
Returns the value of attribute refresh_token.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ RefreshTokenSessionAuthenticateRequest
constructor
A new instance of RefreshTokenSessionAuthenticateRequest.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ RefreshTokenSessionAuthenticateRequest
Returns a new instance of RefreshTokenSessionAuthenticateRequest.
28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/workos/user_management/refresh_token_session_authenticate_request.rb', line 28 def initialize(json) hash = self.class.normalize(json) @client_id = hash[:client_id] @client_secret = hash[:client_secret] @grant_type = hash[:grant_type] @refresh_token = hash[:refresh_token] @organization_id = hash[:organization_id] @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.
18 19 20 |
# File 'lib/workos/user_management/refresh_token_session_authenticate_request.rb', line 18 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
18 19 20 |
# File 'lib/workos/user_management/refresh_token_session_authenticate_request.rb', line 18 def client_secret @client_secret end |
#device_id ⇒ Object
Returns the value of attribute device_id.
18 19 20 |
# File 'lib/workos/user_management/refresh_token_session_authenticate_request.rb', line 18 def device_id @device_id end |
#grant_type ⇒ Object
Returns the value of attribute grant_type.
18 19 20 |
# File 'lib/workos/user_management/refresh_token_session_authenticate_request.rb', line 18 def grant_type @grant_type end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
18 19 20 |
# File 'lib/workos/user_management/refresh_token_session_authenticate_request.rb', line 18 def ip_address @ip_address end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
18 19 20 |
# File 'lib/workos/user_management/refresh_token_session_authenticate_request.rb', line 18 def organization_id @organization_id end |
#refresh_token ⇒ Object
Returns the value of attribute refresh_token.
18 19 20 |
# File 'lib/workos/user_management/refresh_token_session_authenticate_request.rb', line 18 def refresh_token @refresh_token end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
18 19 20 |
# File 'lib/workos/user_management/refresh_token_session_authenticate_request.rb', line 18 def user_agent @user_agent end |