Class: StandardId::Oauth::ClientRegistration::Result
- Inherits:
-
Struct
- Object
- Struct
- StandardId::Oauth::ClientRegistration::Result
- Defined in:
- lib/standard_id/oauth/client_registration.rb
Overview
Minimal result object mirroring the gem’s ‘result.success?` / `result.value` convention. `client_secret` is the one-time plaintext for confidential clients (nil for public clients).
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#token_endpoint_auth_method ⇒ Object
Returns the value of attribute token_endpoint_auth_method.
Instance Method Summary collapse
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client
34 35 36 |
# File 'lib/standard_id/oauth/client_registration.rb', line 34 def client @client end |
#client_secret ⇒ Object
Returns the value of attribute client_secret
34 35 36 |
# File 'lib/standard_id/oauth/client_registration.rb', line 34 def client_secret @client_secret end |
#token_endpoint_auth_method ⇒ Object
Returns the value of attribute token_endpoint_auth_method
34 35 36 |
# File 'lib/standard_id/oauth/client_registration.rb', line 34 def token_endpoint_auth_method @token_endpoint_auth_method end |
Instance Method Details
#success? ⇒ Boolean
35 |
# File 'lib/standard_id/oauth/client_registration.rb', line 35 def success? = true |
#value ⇒ Object
36 |
# File 'lib/standard_id/oauth/client_registration.rb', line 36 def value = client |