Class: AgentAdmit::IntrospectionClient::IntrospectionResult
- Inherits:
-
Struct
- Object
- Struct
- AgentAdmit::IntrospectionClient::IntrospectionResult
- Defined in:
- lib/agentadmit/introspection_client.rb
Instance Attribute Summary collapse
-
#agent_label ⇒ Object
Returns the value of attribute agent_label.
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#connection_id ⇒ Object
Returns the value of attribute connection_id.
-
#exp ⇒ Object
Returns the value of attribute exp.
-
#jti ⇒ Object
Returns the value of attribute jti.
-
#role ⇒ Object
Returns the value of attribute role.
-
#scopes ⇒ Object
Returns the value of attribute scopes.
-
#sub ⇒ Object
Returns the value of attribute sub.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Instance Method Summary collapse
Instance Attribute Details
#agent_label ⇒ Object
Returns the value of attribute agent_label
18 19 20 |
# File 'lib/agentadmit/introspection_client.rb', line 18 def agent_label @agent_label end |
#app_id ⇒ Object
Returns the value of attribute app_id
18 19 20 |
# File 'lib/agentadmit/introspection_client.rb', line 18 def app_id @app_id end |
#connection_id ⇒ Object
Returns the value of attribute connection_id
18 19 20 |
# File 'lib/agentadmit/introspection_client.rb', line 18 def connection_id @connection_id end |
#exp ⇒ Object
Returns the value of attribute exp
18 19 20 |
# File 'lib/agentadmit/introspection_client.rb', line 18 def exp @exp end |
#jti ⇒ Object
Returns the value of attribute jti
18 19 20 |
# File 'lib/agentadmit/introspection_client.rb', line 18 def jti @jti end |
#role ⇒ Object
Returns the value of attribute role
18 19 20 |
# File 'lib/agentadmit/introspection_client.rb', line 18 def role @role end |
#scopes ⇒ Object
Returns the value of attribute scopes
18 19 20 |
# File 'lib/agentadmit/introspection_client.rb', line 18 def scopes @scopes end |
#sub ⇒ Object
Returns the value of attribute sub
18 19 20 |
# File 'lib/agentadmit/introspection_client.rb', line 18 def sub @sub end |
#user_id ⇒ Object
Returns the value of attribute user_id
18 19 20 |
# File 'lib/agentadmit/introspection_client.rb', line 18 def user_id @user_id end |
Instance Method Details
#has_scope?(scope) ⇒ Boolean
20 21 22 |
# File 'lib/agentadmit/introspection_client.rb', line 20 def has_scope?(scope) scopes.include?(scope) end |