Class: Clerk::Models::Operations::CreateEnterpriseConnectionOidc

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/operations/createenterpriseconnection_oidc.rb

Overview

OIDC connection-specific properties. Only applied when the enterprise connection uses OIDC (e.g. provider is oidc_custom, oidc_github_enterprise, or oidc_gitlab).

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(client_id: nil, client_secret: nil, discovery_url: nil, auth_url: nil, token_url: nil, user_info_url: nil, requires_pkce: nil) ⇒ CreateEnterpriseConnectionOidc

Returns a new instance of CreateEnterpriseConnectionOidc.



31
32
33
34
35
36
37
38
39
# File 'lib/clerk/models/operations/createenterpriseconnection_oidc.rb', line 31

def initialize(client_id: nil, client_secret: nil, discovery_url: nil, auth_url: nil, token_url: nil, user_info_url: nil, requires_pkce: nil)
  @client_id = client_id
  @client_secret = client_secret
  @discovery_url = discovery_url
  @auth_url = auth_url
  @token_url = token_url
  @user_info_url = 
  @requires_pkce = requires_pkce
end

Instance Method Details

#==(other) ⇒ Object



42
43
44
45
46
47
48
49
50
51
52
# File 'lib/clerk/models/operations/createenterpriseconnection_oidc.rb', line 42

def ==(other)
  return false unless other.is_a? self.class
  return false unless @client_id == other.client_id
  return false unless @client_secret == other.client_secret
  return false unless @discovery_url == other.discovery_url
  return false unless @auth_url == other.auth_url
  return false unless @token_url == other.token_url
  return false unless @user_info_url == other.
  return false unless @requires_pkce == other.requires_pkce
  true
end