Class: Clerk::Models::Components::OAuthApplicationWithSecret

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(object:, id:, instance_id:, name:, client_id:, dynamically_registered:, consent_screen_enabled:, pkce_required:, public:, scopes:, redirect_uris:, callback_url:, authorize_url:, token_fetch_url:, user_info_url:, discovery_url:, token_introspection_url:, created_at:, updated_at:, client_uri: nil, client_image_url: nil, client_secret: nil) ⇒ OAuthApplicationWithSecret

Returns a new instance of OAuthApplicationWithSecret.



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/clerk/models/components/oauthapplicationwithsecret.rb', line 67

def initialize(object:, id:, instance_id:, name:, client_id:, dynamically_registered:, consent_screen_enabled:, pkce_required:, public:, scopes:, redirect_uris:, callback_url:, authorize_url:, token_fetch_url:, user_info_url:, discovery_url:, token_introspection_url:, created_at:, updated_at:, client_uri: nil, client_image_url: nil, client_secret: nil)
  @object = object
  @id = id
  @instance_id = instance_id
  @name = name
  @client_id = client_id
  @dynamically_registered = dynamically_registered
  @consent_screen_enabled = consent_screen_enabled
  @pkce_required = pkce_required
  @public = public
  @scopes = scopes
  @redirect_uris = redirect_uris
  @callback_url = callback_url
  @authorize_url = authorize_url
  @token_fetch_url = token_fetch_url
  @user_info_url = 
  @discovery_url = discovery_url
  @token_introspection_url = token_introspection_url
  @created_at = created_at
  @updated_at = updated_at
  @client_uri = client_uri
  @client_image_url = client_image_url
  @client_secret = client_secret
end

Instance Method Details

#==(other) ⇒ Object



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'lib/clerk/models/components/oauthapplicationwithsecret.rb', line 93

def ==(other)
  return false unless other.is_a? self.class
  return false unless @object == other.object
  return false unless @id == other.id
  return false unless @instance_id == other.instance_id
  return false unless @name == other.name
  return false unless @client_id == other.client_id
  return false unless @dynamically_registered == other.dynamically_registered
  return false unless @consent_screen_enabled == other.consent_screen_enabled
  return false unless @pkce_required == other.pkce_required
  return false unless @public == other.public
  return false unless @scopes == other.scopes
  return false unless @redirect_uris == other.redirect_uris
  return false unless @callback_url == other.callback_url
  return false unless @authorize_url == other.authorize_url
  return false unless @token_fetch_url == other.token_fetch_url
  return false unless @user_info_url == other.
  return false unless @discovery_url == other.discovery_url
  return false unless @token_introspection_url == other.token_introspection_url
  return false unless @created_at == other.created_at
  return false unless @updated_at == other.updated_at
  return false unless @client_uri == other.client_uri
  return false unless @client_image_url == other.client_image_url
  return false unless @client_secret == other.client_secret
  true
end