Class: LogtoCore::AccessToken
- Inherits:
-
Struct
- Object
- Struct
- LogtoCore::AccessToken
- Defined in:
- lib/logto/core/index_types.rb
Overview
The structured access token.
Instance Attribute Summary collapse
-
#expires_at ⇒ Integer
The epoch timestamp when this token will expire.
-
#scope ⇒ String
The scopes that this token has.
-
#token ⇒ String
The access token string.
Instance Attribute Details
#expires_at ⇒ Integer
The epoch timestamp when this token will expire.
92 93 94 |
# File 'lib/logto/core/index_types.rb', line 92 def expires_at @expires_at end |
#scope ⇒ String
The scopes that this token has.
92 93 94 |
# File 'lib/logto/core/index_types.rb', line 92 def scope @scope end |
#token ⇒ String
The access token string.
92 93 94 |
# File 'lib/logto/core/index_types.rb', line 92 def token @token end |