Class: WorkOS::PatchConnectionOIDCOptions
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::PatchConnectionOIDCOptions
- Defined in:
- lib/workos/sso/patch_connection_oidc_options.rb
Constant Summary collapse
- HASH_ATTRS =
{ discovery_endpoint: :discovery_endpoint, client_id: :client_id, client_secret: :client_secret, redirect_uri: :redirect_uri, pkce: :pkce, token_authentication_method: :token_authentication_method, id_token_signature_algorithm: :id_token_signature_algorithm, fetch_user_info: :fetch_user_info }.freeze
Instance Attribute Summary collapse
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#discovery_endpoint ⇒ Object
Returns the value of attribute discovery_endpoint.
-
#fetch_user_info ⇒ Object
Returns the value of attribute fetch_user_info.
-
#id_token_signature_algorithm ⇒ Object
Returns the value of attribute id_token_signature_algorithm.
-
#pkce ⇒ Object
Returns the value of attribute pkce.
-
#redirect_uri ⇒ Object
Returns the value of attribute redirect_uri.
-
#token_authentication_method ⇒ Object
Returns the value of attribute token_authentication_method.
Instance Method Summary collapse
-
#initialize(json) ⇒ PatchConnectionOIDCOptions
constructor
A new instance of PatchConnectionOIDCOptions.
Constructor Details
#initialize(json) ⇒ PatchConnectionOIDCOptions
Returns a new instance of PatchConnectionOIDCOptions.
28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/workos/sso/patch_connection_oidc_options.rb', line 28 def initialize(json) hash = self.class.normalize(json) @discovery_endpoint = hash[:discovery_endpoint] @client_id = hash[:client_id] @client_secret = hash[:client_secret] @redirect_uri = hash[:redirect_uri] @pkce = hash[:pkce] @token_authentication_method = hash[:token_authentication_method] @id_token_signature_algorithm = hash[:id_token_signature_algorithm] @fetch_user_info = hash[:fetch_user_info] end |
Instance Attribute Details
#client_id ⇒ Object
Returns the value of attribute client_id.
18 19 20 |
# File 'lib/workos/sso/patch_connection_oidc_options.rb', line 18 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
18 19 20 |
# File 'lib/workos/sso/patch_connection_oidc_options.rb', line 18 def client_secret @client_secret end |
#discovery_endpoint ⇒ Object
Returns the value of attribute discovery_endpoint.
18 19 20 |
# File 'lib/workos/sso/patch_connection_oidc_options.rb', line 18 def discovery_endpoint @discovery_endpoint end |
#fetch_user_info ⇒ Object
Returns the value of attribute fetch_user_info.
18 19 20 |
# File 'lib/workos/sso/patch_connection_oidc_options.rb', line 18 def fetch_user_info @fetch_user_info end |
#id_token_signature_algorithm ⇒ Object
Returns the value of attribute id_token_signature_algorithm.
18 19 20 |
# File 'lib/workos/sso/patch_connection_oidc_options.rb', line 18 def id_token_signature_algorithm @id_token_signature_algorithm end |
#pkce ⇒ Object
Returns the value of attribute pkce.
18 19 20 |
# File 'lib/workos/sso/patch_connection_oidc_options.rb', line 18 def pkce @pkce end |
#redirect_uri ⇒ Object
Returns the value of attribute redirect_uri.
18 19 20 |
# File 'lib/workos/sso/patch_connection_oidc_options.rb', line 18 def redirect_uri @redirect_uri end |
#token_authentication_method ⇒ Object
Returns the value of attribute token_authentication_method.
18 19 20 |
# File 'lib/workos/sso/patch_connection_oidc_options.rb', line 18 def token_authentication_method @token_authentication_method end |