Class: Keycardai::OAuth::AuthorizationServerMetadata
- Inherits:
-
Data
- Object
- Data
- Keycardai::OAuth::AuthorizationServerMetadata
- Defined in:
- lib/keycardai/oauth/discovery.rb
Overview
OAuth 2.0 authorization-server metadata (RFC 8414). Standard fields are
first-class members; the complete document, including unknown fields, is
preserved in raw and reachable through [].
Instance Attribute Summary collapse
-
#authorization_endpoint ⇒ Object
readonly
Returns the value of attribute authorization_endpoint.
-
#grant_types_supported ⇒ Object
readonly
Returns the value of attribute grant_types_supported.
-
#issuer ⇒ Object
readonly
Returns the value of attribute issuer.
-
#jwks_uri ⇒ Object
readonly
Returns the value of attribute jwks_uri.
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
-
#registration_endpoint ⇒ Object
readonly
Returns the value of attribute registration_endpoint.
-
#response_types_supported ⇒ Object
readonly
Returns the value of attribute response_types_supported.
-
#token_endpoint ⇒ Object
readonly
Returns the value of attribute token_endpoint.
-
#token_endpoint_auth_methods_supported ⇒ Object
readonly
Returns the value of attribute token_endpoint_auth_methods_supported.
Instance Method Summary collapse
-
#[](field) ⇒ Object?
The field's value from the full document.
Instance Attribute Details
#authorization_endpoint ⇒ Object (readonly)
Returns the value of attribute authorization_endpoint
13 14 15 |
# File 'lib/keycardai/oauth/discovery.rb', line 13 def @authorization_endpoint end |
#grant_types_supported ⇒ Object (readonly)
Returns the value of attribute grant_types_supported
13 14 15 |
# File 'lib/keycardai/oauth/discovery.rb', line 13 def grant_types_supported @grant_types_supported end |
#issuer ⇒ Object (readonly)
Returns the value of attribute issuer
13 14 15 |
# File 'lib/keycardai/oauth/discovery.rb', line 13 def issuer @issuer end |
#jwks_uri ⇒ Object (readonly)
Returns the value of attribute jwks_uri
13 14 15 |
# File 'lib/keycardai/oauth/discovery.rb', line 13 def jwks_uri @jwks_uri end |
#raw ⇒ Object (readonly)
Returns the value of attribute raw
13 14 15 |
# File 'lib/keycardai/oauth/discovery.rb', line 13 def raw @raw end |
#registration_endpoint ⇒ Object (readonly)
Returns the value of attribute registration_endpoint
13 14 15 |
# File 'lib/keycardai/oauth/discovery.rb', line 13 def registration_endpoint @registration_endpoint end |
#response_types_supported ⇒ Object (readonly)
Returns the value of attribute response_types_supported
13 14 15 |
# File 'lib/keycardai/oauth/discovery.rb', line 13 def response_types_supported @response_types_supported end |
#token_endpoint ⇒ Object (readonly)
Returns the value of attribute token_endpoint
13 14 15 |
# File 'lib/keycardai/oauth/discovery.rb', line 13 def token_endpoint @token_endpoint end |
#token_endpoint_auth_methods_supported ⇒ Object (readonly)
Returns the value of attribute token_endpoint_auth_methods_supported
13 14 15 |
# File 'lib/keycardai/oauth/discovery.rb', line 13 def token_endpoint_auth_methods_supported @token_endpoint_auth_methods_supported end |
Instance Method Details
#[](field) ⇒ Object?
Returns the field's value from the full document.
19 20 21 |
# File 'lib/keycardai/oauth/discovery.rb', line 19 def [](field) raw[field] end |