Class: Keycardai::OAuth::ClientRegistrationResponse
- Inherits:
-
Data
- Object
- Data
- Keycardai::OAuth::ClientRegistrationResponse
- Defined in:
- lib/keycardai/oauth/registration.rb
Overview
The result of registering a client (RFC 7591 ยง3.2.1). The server's full
response, including echoed metadata and AS-specific fields, is preserved
in raw.
Instance Attribute Summary collapse
-
#client_id ⇒ Object
readonly
Returns the value of attribute client_id.
-
#client_id_issued_at ⇒ Object
readonly
Returns the value of attribute client_id_issued_at.
-
#client_secret ⇒ Object
readonly
Returns the value of attribute client_secret.
-
#client_secret_expires_at ⇒ Object
readonly
Returns the value of attribute client_secret_expires_at.
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
-
#registration_access_token ⇒ Object
readonly
Returns the value of attribute registration_access_token.
-
#registration_client_uri ⇒ Object
readonly
Returns the value of attribute registration_client_uri.
Instance Method Summary collapse
-
#[](field) ⇒ Object?
The field's value from the full response body.
Instance Attribute Details
#client_id ⇒ Object (readonly)
Returns the value of attribute client_id
11 12 13 |
# File 'lib/keycardai/oauth/registration.rb', line 11 def client_id @client_id end |
#client_id_issued_at ⇒ Object (readonly)
Returns the value of attribute client_id_issued_at
11 12 13 |
# File 'lib/keycardai/oauth/registration.rb', line 11 def client_id_issued_at @client_id_issued_at end |
#client_secret ⇒ Object (readonly)
Returns the value of attribute client_secret
11 12 13 |
# File 'lib/keycardai/oauth/registration.rb', line 11 def client_secret @client_secret end |
#client_secret_expires_at ⇒ Object (readonly)
Returns the value of attribute client_secret_expires_at
11 12 13 |
# File 'lib/keycardai/oauth/registration.rb', line 11 def client_secret_expires_at @client_secret_expires_at end |
#raw ⇒ Object (readonly)
Returns the value of attribute raw
11 12 13 |
# File 'lib/keycardai/oauth/registration.rb', line 11 def raw @raw end |
#registration_access_token ⇒ Object (readonly)
Returns the value of attribute registration_access_token
11 12 13 |
# File 'lib/keycardai/oauth/registration.rb', line 11 def registration_access_token @registration_access_token end |
#registration_client_uri ⇒ Object (readonly)
Returns the value of attribute registration_client_uri
11 12 13 |
# File 'lib/keycardai/oauth/registration.rb', line 11 def registration_client_uri @registration_client_uri end |
Instance Method Details
#[](field) ⇒ Object?
Returns the field's value from the full response body.
17 18 19 |
# File 'lib/keycardai/oauth/registration.rb', line 17 def [](field) raw[field] end |