Class: LogtoCore::AccessTokenClaims
- Inherits:
-
Struct
- Object
- Struct
- LogtoCore::AccessTokenClaims
- Defined in:
- lib/logto/core/index_types.rb
Overview
The claims that are returned in the access token.
Instance Attribute Summary collapse
-
#aud ⇒ String
The audience (API resource or organization ID) of this token.
-
#client_id ⇒ String?
The client ID that this token was issued to.
-
#exp ⇒ Integer
The expiration time of this token.
-
#iat ⇒ Integer
The time at which this token was issued.
-
#iss ⇒ String
The issuer of this token.
-
#jti ⇒ String
The JWT ID of this token.
-
#scope ⇒ String
The scopes that this token has.
-
#sub ⇒ String
The subject (user ID or client ID) of this token.
-
#unknown_keys ⇒ Object
Returns the value of attribute unknown_keys.
Instance Attribute Details
#aud ⇒ String
The audience (API resource or organization ID) of this token.
82 83 84 |
# File 'lib/logto/core/index_types.rb', line 82 def aud @aud end |
#client_id ⇒ String?
The client ID that this token was issued to.
82 83 84 |
# File 'lib/logto/core/index_types.rb', line 82 def client_id @client_id end |
#exp ⇒ Integer
The expiration time of this token.
82 83 84 |
# File 'lib/logto/core/index_types.rb', line 82 def exp @exp end |
#iat ⇒ Integer
The time at which this token was issued.
82 83 84 |
# File 'lib/logto/core/index_types.rb', line 82 def iat @iat end |
#iss ⇒ String
The issuer of this token.
82 83 84 |
# File 'lib/logto/core/index_types.rb', line 82 def iss @iss end |
#jti ⇒ String
The JWT ID of this token.
82 83 84 |
# File 'lib/logto/core/index_types.rb', line 82 def jti @jti end |
#scope ⇒ String
The scopes that this token has.
82 83 84 |
# File 'lib/logto/core/index_types.rb', line 82 def scope @scope end |
#sub ⇒ String
The subject (user ID or client ID) of this token.
82 83 84 |
# File 'lib/logto/core/index_types.rb', line 82 def sub @sub end |
#unknown_keys ⇒ Object
Returns the value of attribute unknown_keys
82 83 84 |
# File 'lib/logto/core/index_types.rb', line 82 def unknown_keys @unknown_keys end |