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.
Instance Method Summary collapse
Instance Attribute Details
#authz_result ⇒ Object
Returns the value of attribute authz_result
24 25 26 |
# File 'lib/himari/services/downstream_authorization.rb', line 24 def authz_result @authz_result end |
#claims ⇒ Object
Returns the value of attribute claims
24 25 26 |
# File 'lib/himari/services/downstream_authorization.rb', line 24 def claims @claims end |
#client ⇒ Object
Returns the value of attribute client
24 25 26 |
# File 'lib/himari/services/downstream_authorization.rb', line 24 def client @client end |
#lifetime ⇒ Object
Returns the value of attribute lifetime
24 25 26 |
# File 'lib/himari/services/downstream_authorization.rb', line 24 def lifetime @lifetime end |
Instance Method Details
#as_log ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/himari/services/downstream_authorization.rb', line 25 def as_log { client: client.as_log, claims: claims, decision: { authorization: authz_result.as_log, }, } end |