Class: Chain::AuthorizationGrant
- Inherits:
-
ResponseObject
- Object
- ResponseObject
- Chain::AuthorizationGrant
- Defined in:
- lib/chain/authorization_grant.rb
Defined Under Namespace
Classes: ClientModule
Instance Attribute Summary collapse
-
#created_at ⇒ Time
readonly
Timestamp of token creation.
-
#guard_data ⇒ Hash
readonly
A list of parameters that match specific credentials.
-
#guard_type ⇒ String
readonly
The type of credential that the guard matches against.
- #policy ⇒ String readonly
-
#protected ⇒ Boolean
readonly
Whether the grant can be deleted.
Method Summary
Methods inherited from ResponseObject
#[], #[]=, #initialize, #to_h, #to_json
Constructor Details
This class inherits a constructor from Chain::ResponseObject
Instance Attribute Details
#created_at ⇒ Time (readonly)
Timestamp of token creation.
31 |
# File 'lib/chain/authorization_grant.rb', line 31 attrib :created_at, rfc3339_time: true |
#guard_data ⇒ Hash (readonly)
A list of parameters that match specific credentials.
17 |
# File 'lib/chain/authorization_grant.rb', line 17 attrib :guard_data |
#guard_type ⇒ String (readonly)
The type of credential that the guard matches against. Only “access_token” and “x509” are allowed.
12 |
# File 'lib/chain/authorization_grant.rb', line 12 attrib :guard_type |
#policy ⇒ String (readonly)
21 |
# File 'lib/chain/authorization_grant.rb', line 21 attrib :policy |
#protected ⇒ Boolean (readonly)
Whether the grant can be deleted. Only used for internal purposes.
26 |
# File 'lib/chain/authorization_grant.rb', line 26 attrib :protected |