Class: Clerk::Models::Components::OAuthApplication
- Inherits:
-
Object
- Object
- Clerk::Models::Components::OAuthApplication
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/components/oauthapplication.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#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) ⇒ OAuthApplication
constructor
A new instance of OAuthApplication.
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) ⇒ OAuthApplication
Returns a new instance of OAuthApplication.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/clerk/models/components/oauthapplication.rb', line 64 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) @object = object @id = id @instance_id = instance_id @name = name @client_id = client_id @dynamically_registered = dynamically_registered @consent_screen_enabled = @pkce_required = pkce_required @public = public @scopes = scopes @redirect_uris = redirect_uris @callback_url = callback_url @authorize_url = @token_fetch_url = token_fetch_url @user_info_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 end |
Instance Method Details
#==(other) ⇒ Object
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/clerk/models/components/oauthapplication.rb', line 89 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. 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. return false unless @token_fetch_url == other.token_fetch_url return false unless @user_info_url == other.user_info_url 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 true end |