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
13 14 15 |
# File 'lib/agentadmit/introspection_client.rb', line 13 def agent_label @agent_label end |
#app_id ⇒ Object
Returns the value of attribute app_id
13 14 15 |
# File 'lib/agentadmit/introspection_client.rb', line 13 def app_id @app_id end |
#connection_id ⇒ Object
Returns the value of attribute connection_id
13 14 15 |
# File 'lib/agentadmit/introspection_client.rb', line 13 def connection_id @connection_id end |
#exp ⇒ Object
Returns the value of attribute exp
13 14 15 |
# File 'lib/agentadmit/introspection_client.rb', line 13 def exp @exp end |
#jti ⇒ Object
Returns the value of attribute jti
13 14 15 |
# File 'lib/agentadmit/introspection_client.rb', line 13 def jti @jti end |
#role ⇒ Object
Returns the value of attribute role
13 14 15 |
# File 'lib/agentadmit/introspection_client.rb', line 13 def role @role end |
#scopes ⇒ Object
Returns the value of attribute scopes
13 14 15 |
# File 'lib/agentadmit/introspection_client.rb', line 13 def scopes @scopes end |
#sub ⇒ Object
Returns the value of attribute sub
13 14 15 |
# File 'lib/agentadmit/introspection_client.rb', line 13 def sub @sub end |
#user_id ⇒ Object
Returns the value of attribute user_id
13 14 15 |
# File 'lib/agentadmit/introspection_client.rb', line 13 def user_id @user_id end |
Instance Method Details
#has_scope?(scope) ⇒ Boolean
15 16 17 |
# File 'lib/agentadmit/introspection_client.rb', line 15 def has_scope?(scope) scopes.include?(scope) end |