Class: Clerk::Models::Components::OAuthApplicationSettings

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

Overview

Success

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(object:, dynamic_oauth_client_registration:, oauth_jwt_access_tokens:, client_id_metadata_documents_advertised:, client_id_metadata_documents_only_allow_pre_registered_clients:, client_id_metadata_documents_block_implicitly_allowed_clients:, default_scopes: nil) ⇒ OAuthApplicationSettings

Returns a new instance of OAuthApplicationSettings.



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

def initialize(object:, dynamic_oauth_client_registration:, oauth_jwt_access_tokens:, client_id_metadata_documents_advertised:, client_id_metadata_documents_only_allow_pre_registered_clients:, client_id_metadata_documents_block_implicitly_allowed_clients:, default_scopes: nil)
  @object = object
  @dynamic_oauth_client_registration = dynamic_oauth_client_registration
  @oauth_jwt_access_tokens = oauth_jwt_access_tokens
  @client_id_metadata_documents_advertised = 
  @client_id_metadata_documents_only_allow_pre_registered_clients = 
  @client_id_metadata_documents_block_implicitly_allowed_clients = 
  @default_scopes = default_scopes
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @object == other.object
  return false unless @dynamic_oauth_client_registration == other.dynamic_oauth_client_registration
  return false unless @oauth_jwt_access_tokens == other.oauth_jwt_access_tokens
  return false unless @client_id_metadata_documents_advertised == other.
  return false unless @client_id_metadata_documents_only_allow_pre_registered_clients == other.
  return false unless @client_id_metadata_documents_block_implicitly_allowed_clients == other.
  return false unless @default_scopes == other.default_scopes
  true
end