Class: LogtoCore::TokenResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/logto/core/index_types.rb

Overview

The response from the Token Endpoint when fetching a token.

Instance Attribute Summary collapse

Instance Attribute Details

#access_token ⇒ Object

Returns the value of attribute access_token

Returns:

  • (Object) —

    the current value of access_token



20
21
22
# File 'lib/logto/core/index_types.rb', line 20

def access_token
  @access_token
end

#expires_in ⇒ Object

Returns the value of attribute expires_in

Returns:

  • (Object) —

    the current value of expires_in



20
21
22
# File 'lib/logto/core/index_types.rb', line 20

def expires_in
  @expires_in
end

#id_token ⇒ Object

Returns the value of attribute id_token

Returns:

  • (Object) —

    the current value of id_token



20
21
22
# File 'lib/logto/core/index_types.rb', line 20

def id_token
  @id_token
end

#refresh_token ⇒ Object

Returns the value of attribute refresh_token

Returns:

  • (Object) —

    the current value of refresh_token



20
21
22
# File 'lib/logto/core/index_types.rb', line 20

def refresh_token
  @refresh_token
end

#scope ⇒ Object

Returns the value of attribute scope

Returns:

  • (Object) —

    the current value of scope



20
21
22
# File 'lib/logto/core/index_types.rb', line 20

def scope
  @scope
end

#token_type ⇒ Object

Returns the value of attribute token_type

Returns:

  • (Object) —

    the current value of token_type



20
21
22
# File 'lib/logto/core/index_types.rb', line 20

def token_type
  @token_type
end

#unknown_keys ⇒ Object

Returns the value of attribute unknown_keys

Returns:

  • (Object) —

    the current value of unknown_keys



20
21
22
# File 'lib/logto/core/index_types.rb', line 20

def unknown_keys
  @unknown_keys
end