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.
-
#connection_id ⇒ Object
Returns the value of attribute connection_id.
-
#scopes ⇒ Object
Returns the value of attribute scopes.
-
#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 |
#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 |
#scopes ⇒ Object
Returns the value of attribute scopes
13 14 15 |
# File 'lib/agentadmit/introspection_client.rb', line 13 def scopes @scopes 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
14 15 16 |
# File 'lib/agentadmit/introspection_client.rb', line 14 def has_scope?(scope) scopes.include?(scope) end |