Class: Keycloak_FFI::KeycloakToken
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Keycloak_FFI::KeycloakToken
- Defined in:
- lib/libkeycloak.rb
Overview
Token service
Instance Method Summary collapse
Instance Method Details
#expiration ⇒ Object
94 95 96 |
# File 'lib/libkeycloak.rb', line 94 def expiration self[:token] end |
#to_h ⇒ Object
87 88 89 90 91 92 |
# File 'lib/libkeycloak.rb', line 87 def to_h { token: self[:token], expiration: self[:expiration] } end |
#token ⇒ Object
83 84 85 |
# File 'lib/libkeycloak.rb', line 83 def token self[:token] end |