Class: Himari::Services::DownstreamAuthorization::Result
- Inherits:
-
Struct
- Object
- Struct
- Himari::Services::DownstreamAuthorization::Result
- Defined in:
- lib/himari/services/downstream_authorization.rb
Instance Attribute Summary collapse
-
#authz_result ⇒ Object
Returns the value of attribute authz_result.
-
#claims ⇒ Object
Returns the value of attribute claims.
-
#client ⇒ Object
Returns the value of attribute client.
-
#lifetime ⇒ Object
Returns the value of attribute lifetime.
-
#mint_jwt_access_token ⇒ Object
Returns the value of attribute mint_jwt_access_token.
-
#scopes ⇒ Object
Returns the value of attribute scopes.
Instance Method Summary collapse
Instance Attribute Details
#authz_result ⇒ Object
Returns the value of attribute authz_result
26 27 28 |
# File 'lib/himari/services/downstream_authorization.rb', line 26 def authz_result @authz_result end |
#claims ⇒ Object
Returns the value of attribute claims
26 27 28 |
# File 'lib/himari/services/downstream_authorization.rb', line 26 def claims @claims end |
#client ⇒ Object
Returns the value of attribute client
26 27 28 |
# File 'lib/himari/services/downstream_authorization.rb', line 26 def client @client end |
#lifetime ⇒ Object
Returns the value of attribute lifetime
26 27 28 |
# File 'lib/himari/services/downstream_authorization.rb', line 26 def lifetime @lifetime end |
#mint_jwt_access_token ⇒ Object
Returns the value of attribute mint_jwt_access_token
26 27 28 |
# File 'lib/himari/services/downstream_authorization.rb', line 26 def mint_jwt_access_token @mint_jwt_access_token end |
#scopes ⇒ Object
Returns the value of attribute scopes
26 27 28 |
# File 'lib/himari/services/downstream_authorization.rb', line 26 def scopes @scopes end |
Instance Method Details
#as_log ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/himari/services/downstream_authorization.rb', line 27 def as_log { client: client.as_log, claims: claims, scopes: scopes, mint_jwt_access_token: mint_jwt_access_token, decision: { authorization: authz_result.as_log, }, } end |