clerk-http-client 1.0.0 → 2.0.0.beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +155 -191
- data/clerk-http-client.gemspec +1 -1
- data/docs/ActorTokensApi.md +26 -26
- data/docs/AllowListBlockListApi.md +72 -74
- data/docs/BetaFeaturesApi.md +42 -41
- data/docs/ClientsApi.md +36 -37
- data/docs/CreateBulkInvitationsRequestInner.md +28 -0
- data/docs/CreateInvitationRequest.md +6 -4
- data/docs/{CreateOAuthApplicationRequest.md → CreateOauthApplicationRequest.md} +1 -1
- data/docs/CreateOrganizationInvitationBulkRequestInner.md +2 -2
- data/docs/CreateOrganizationInvitationRequest.md +5 -3
- data/docs/CreateOrganizationRequest.md +3 -3
- data/docs/CreateSAMLConnectionRequest.md +2 -0
- data/docs/CreateSessionRequest.md +18 -0
- data/docs/CreateSessionToken200Response.md +20 -0
- data/docs/CreateSessionTokenFromTemplateRequest.md +18 -0
- data/docs/CreateSessionTokenRequest.md +18 -0
- data/docs/CreateUserRequest.md +3 -3
- data/docs/CreateWaitlistEntryRequest.md +20 -0
- data/docs/DomainsApi.md +46 -48
- data/docs/EmailAddress.md +2 -0
- data/docs/EmailAddressVerification.md +3 -3
- data/docs/EmailAddressesApi.md +52 -52
- data/docs/EmailSMSTemplatesApi.md +60 -66
- data/docs/FromOauth.md +26 -0
- data/docs/FromOauthError.md +47 -0
- data/docs/{GetOAuthAccessToken200ResponseInner.md → GetOauthAccessToken200ResponseInner.md} +4 -2
- data/docs/Instance.md +24 -0
- data/docs/InstanceSettingsApi.md +114 -45
- data/docs/Invitation.md +1 -1
- data/docs/InvitationsApi.md +110 -38
- data/docs/JWKS.md +18 -0
- data/docs/JWKSApi.md +14 -15
- data/docs/JWKSKeysInner.md +32 -0
- data/docs/JWTTemplatesApi.md +62 -63
- data/docs/ListWaitlistEntries200Response.md +20 -0
- data/docs/MergeOrganizationMetadataRequest.md +2 -2
- data/docs/MiscellaneousApi.md +11 -7
- data/docs/{OAuthApplication.md → OauthApplication.md} +4 -0
- data/docs/{OAuthApplicationWithSecret.md → OauthApplicationWithSecret.md} +4 -0
- data/docs/{OAuthApplicationsApi.md → OauthApplicationsApi.md} +90 -94
- data/docs/Organization.md +2 -2
- data/docs/OrganizationDomainApi.md +15 -13
- data/docs/OrganizationDomainsApi.md +103 -33
- data/docs/OrganizationInvitation.md +6 -2
- data/docs/OrganizationInvitationWithPublicOrganizationData.md +4 -2
- data/docs/OrganizationInvitationsApi.md +76 -81
- data/docs/OrganizationMembership.md +2 -2
- data/docs/OrganizationMembershipsApi.md +66 -70
- data/docs/OrganizationWithLogo.md +2 -2
- data/docs/OrganizationsApi.md +87 -93
- data/docs/PhoneNumbersApi.md +52 -52
- data/docs/ProxyChecksApi.md +16 -15
- data/docs/{RedirectURLsApi.md → RedirectUrlsApi.md} +46 -48
- data/docs/RevokeInvitation200Response.md +1 -1
- data/docs/SAML.md +1 -1
- data/docs/SAMLAccount.md +1 -1
- data/docs/SAMLConnectionsApi.md +59 -60
- data/docs/SchemasSAMLConnection.md +2 -0
- data/docs/SessionsApi.md +203 -60
- data/docs/SignInTokensApi.md +26 -26
- data/docs/SignUp.md +4 -2
- data/docs/SignUpsApi.md +16 -15
- data/docs/TestingTokensApi.md +11 -12
- data/docs/UpdateOrganizationMembershipMetadataRequest.md +2 -2
- data/docs/UpdateOrganizationRequest.md +2 -2
- data/docs/UpdateSAMLConnectionRequest.md +2 -0
- data/docs/UpdateUserRequest.md +3 -3
- data/docs/User.md +3 -3
- data/docs/UsersApi.md +297 -294
- data/docs/WaitlistEntriesApi.md +157 -0
- data/docs/WaitlistEntry.md +32 -0
- data/docs/WaitlistEntryInvitation.md +36 -0
- data/docs/WebhooksApi.md +30 -33
- data/lib/clerk-http-client/api/actor_tokens_api.rb +10 -14
- data/lib/clerk-http-client/api/allow_list_block_list_api.rb +25 -33
- data/lib/clerk-http-client/api/beta_features_api.rb +13 -21
- data/lib/clerk-http-client/api/clients_api.rb +13 -17
- data/lib/clerk-http-client/api/domains_api.rb +16 -20
- data/lib/clerk-http-client/api/email_addresses_api.rb +19 -27
- data/lib/clerk-http-client/api/email_sms_templates_api.rb +19 -19
- data/lib/clerk-http-client/api/instance_settings_api.rb +78 -31
- data/lib/clerk-http-client/api/invitations_api.rb +82 -17
- data/lib/clerk-http-client/api/jwks_api.rb +7 -7
- data/lib/clerk-http-client/api/jwt_templates_api.rb +22 -30
- data/lib/clerk-http-client/api/miscellaneous_api.rb +4 -4
- data/lib/clerk-http-client/api/{o_auth_applications_api.rb → oauth_applications_api.rb} +53 -57
- data/lib/clerk-http-client/api/organization_domains_api.rb +92 -10
- data/lib/clerk-http-client/api/organization_invitations_api.rb +25 -29
- data/lib/clerk-http-client/api/organization_memberships_api.rb +22 -26
- data/lib/clerk-http-client/api/organizations_api.rb +30 -34
- data/lib/clerk-http-client/api/phone_numbers_api.rb +19 -27
- data/lib/clerk-http-client/api/proxy_checks_api.rb +7 -11
- data/lib/clerk-http-client/api/redirect_urls_api.rb +16 -20
- data/lib/clerk-http-client/api/saml_connections_api.rb +22 -23
- data/lib/clerk-http-client/api/sessions_api.rb +165 -20
- data/lib/clerk-http-client/api/sign_in_tokens_api.rb +10 -14
- data/lib/clerk-http-client/api/sign_ups_api.rb +7 -11
- data/lib/clerk-http-client/api/testing_tokens_api.rb +6 -6
- data/lib/clerk-http-client/api/users_api.rb +149 -92
- data/lib/clerk-http-client/api/waitlist_entries_api.rb +178 -0
- data/lib/clerk-http-client/api/webhooks_api.rb +10 -10
- data/lib/clerk-http-client/api_client.rb +1 -1
- data/lib/clerk-http-client/api_error.rb +1 -1
- data/lib/clerk-http-client/configuration.rb +1 -1
- data/lib/clerk-http-client/models/actor_token.rb +1 -1
- data/lib/clerk-http-client/models/add_domain_request.rb +1 -1
- data/lib/clerk-http-client/models/admin.rb +1 -1
- data/lib/clerk-http-client/models/allowlist_identifier.rb +1 -1
- data/lib/clerk-http-client/models/blocklist_identifier.rb +1 -1
- data/lib/clerk-http-client/models/blocklist_identifiers.rb +1 -1
- data/lib/clerk-http-client/models/change_production_instance_domain_request.rb +1 -1
- data/lib/clerk-http-client/models/clerk_error.rb +1 -1
- data/lib/clerk-http-client/models/clerk_errors.rb +1 -1
- data/lib/clerk-http-client/models/client.rb +1 -1
- data/lib/clerk-http-client/models/{c_name_target.rb → cname_target.rb} +1 -1
- data/lib/clerk-http-client/models/create_actor_token_request.rb +1 -1
- data/lib/clerk-http-client/models/create_allowlist_identifier_request.rb +1 -1
- data/lib/clerk-http-client/models/create_blocklist_identifier_request.rb +1 -1
- data/lib/clerk-http-client/models/create_bulk_invitations_request_inner.rb +305 -0
- data/lib/clerk-http-client/models/create_email_address_request.rb +1 -1
- data/lib/clerk-http-client/models/create_invitation_request.rb +57 -10
- data/lib/clerk-http-client/models/create_jwt_template_request.rb +1 -1
- data/lib/clerk-http-client/models/{create_o_auth_application_request.rb → create_oauth_application_request.rb} +1 -8
- data/lib/clerk-http-client/models/create_organization_domain_request.rb +1 -1
- data/lib/clerk-http-client/models/create_organization_invitation_bulk_request_inner.rb +11 -7
- data/lib/clerk-http-client/models/create_organization_invitation_request.rb +50 -11
- data/lib/clerk-http-client/models/create_organization_membership_request.rb +1 -1
- data/lib/clerk-http-client/models/create_organization_request.rb +9 -12
- data/lib/clerk-http-client/models/create_phone_number_request.rb +1 -1
- data/lib/clerk-http-client/models/create_redirect_url_request.rb +1 -1
- data/lib/clerk-http-client/models/create_saml_connection_request.rb +13 -2
- data/lib/clerk-http-client/models/create_saml_connection_request_attribute_mapping.rb +1 -1
- data/lib/clerk-http-client/models/create_session_request.rb +215 -0
- data/lib/clerk-http-client/models/create_session_token200_response.rb +257 -0
- data/lib/clerk-http-client/models/create_session_token_from_template_request.rb +240 -0
- data/lib/clerk-http-client/models/create_session_token_request.rb +240 -0
- data/lib/clerk-http-client/models/create_sign_in_token_request.rb +1 -1
- data/lib/clerk-http-client/models/create_user_request.rb +13 -7
- data/lib/clerk-http-client/models/create_waitlist_entry_request.rb +232 -0
- data/lib/clerk-http-client/models/deleted_object.rb +1 -1
- data/lib/clerk-http-client/models/disable_mfa200_response.rb +1 -1
- data/lib/clerk-http-client/models/domain.rb +1 -1
- data/lib/clerk-http-client/models/domains.rb +1 -1
- data/lib/clerk-http-client/models/email_address.rb +12 -2
- data/lib/clerk-http-client/models/email_address_verification.rb +3 -3
- data/lib/clerk-http-client/models/from_o_auth.rb +324 -0
- data/{resources/templates/partial_anyof_module.mustache → lib/clerk-http-client/models/from_o_auth_error.rb} +29 -19
- data/lib/clerk-http-client/models/from_oauth.rb +324 -0
- data/{resources/templates/partial_oneof_module.mustache → lib/clerk-http-client/models/from_oauth_error.rb} +21 -54
- data/lib/clerk-http-client/models/{get_o_auth_access_token200_response_inner.rb → get_oauth_access_token200_response_inner.rb} +20 -7
- data/lib/clerk-http-client/models/identification_link.rb +3 -3
- data/lib/clerk-http-client/models/instance.rb +279 -0
- data/lib/clerk-http-client/models/instance_restrictions.rb +1 -1
- data/lib/clerk-http-client/models/invitation.rb +5 -3
- data/lib/clerk-http-client/models/jwks.rb +216 -0
- data/lib/clerk-http-client/models/jwks_keys_inner.rb +277 -0
- data/lib/clerk-http-client/models/jwt_template.rb +1 -1
- data/lib/clerk-http-client/models/list_waitlist_entries200_response.rb +240 -0
- data/lib/clerk-http-client/models/merge_organization_metadata_request.rb +9 -5
- data/lib/clerk-http-client/models/o_auth_application.rb +34 -2
- data/lib/clerk-http-client/models/o_auth_application_with_secret.rb +34 -2
- data/lib/clerk-http-client/models/o_auth_applications.rb +1 -1
- data/lib/clerk-http-client/models/oauth.rb +2 -2
- data/lib/clerk-http-client/models/oauth_application.rb +481 -0
- data/lib/clerk-http-client/models/oauth_application_with_secret.rb +498 -0
- data/lib/clerk-http-client/models/oauth_applications.rb +240 -0
- data/lib/clerk-http-client/models/organization.rb +10 -5
- data/lib/clerk-http-client/models/organization_domain.rb +1 -1
- data/lib/clerk-http-client/models/organization_domain_verification.rb +1 -1
- data/lib/clerk-http-client/models/organization_domains.rb +1 -1
- data/lib/clerk-http-client/models/organization_invitation.rb +31 -6
- data/lib/clerk-http-client/models/organization_invitation_with_public_organization_data.rb +20 -6
- data/lib/clerk-http-client/models/organization_invitation_with_public_organization_data_public_organization_data.rb +1 -1
- data/lib/clerk-http-client/models/organization_invitations.rb +1 -1
- data/lib/clerk-http-client/models/organization_invitations_with_public_organization_data.rb +1 -1
- data/lib/clerk-http-client/models/organization_membership.rb +9 -5
- data/lib/clerk-http-client/models/organization_membership_public_user_data.rb +1 -1
- data/lib/clerk-http-client/models/organization_memberships.rb +1 -1
- data/lib/clerk-http-client/models/organization_settings.rb +1 -1
- data/lib/clerk-http-client/models/organization_with_logo.rb +10 -5
- data/lib/clerk-http-client/models/organizations.rb +1 -1
- data/lib/clerk-http-client/models/otp.rb +1 -1
- data/lib/clerk-http-client/models/passkey.rb +1 -1
- data/lib/clerk-http-client/models/phone_number.rb +1 -1
- data/lib/clerk-http-client/models/phone_number_verification.rb +1 -1
- data/lib/clerk-http-client/models/preview_template_request.rb +1 -1
- data/lib/clerk-http-client/models/proxy_check.rb +1 -1
- data/lib/clerk-http-client/models/redirect_url.rb +1 -1
- data/lib/clerk-http-client/models/revoke_invitation200_response.rb +5 -3
- data/lib/clerk-http-client/models/revoke_organization_invitation_request.rb +1 -1
- data/lib/clerk-http-client/models/saml.rb +2 -2
- data/lib/clerk-http-client/models/saml_account.rb +5 -3
- data/lib/clerk-http-client/models/saml_account_saml_connection.rb +1 -1
- data/lib/clerk-http-client/models/saml_account_verification.rb +1 -1
- data/lib/clerk-http-client/models/saml_connection.rb +1 -1
- data/lib/clerk-http-client/models/saml_connections.rb +1 -1
- data/lib/clerk-http-client/models/schemas_passkey.rb +1 -1
- data/lib/clerk-http-client/models/schemas_passkey_verification.rb +1 -1
- data/lib/clerk-http-client/models/schemas_saml_connection.rb +12 -2
- data/lib/clerk-http-client/models/schemas_saml_connection_attribute_mapping.rb +1 -1
- data/lib/clerk-http-client/models/session.rb +1 -1
- data/lib/clerk-http-client/models/session_latest_activity.rb +1 -1
- data/lib/clerk-http-client/models/sign_in_token.rb +1 -1
- data/lib/clerk-http-client/models/sign_up.rb +21 -6
- data/lib/clerk-http-client/models/svix_url.rb +1 -1
- data/lib/clerk-http-client/models/template.rb +1 -1
- data/lib/clerk-http-client/models/testing_token.rb +1 -1
- data/lib/clerk-http-client/models/ticket.rb +1 -1
- data/lib/clerk-http-client/models/toggle_template_delivery_request.rb +1 -1
- data/lib/clerk-http-client/models/total_count.rb +1 -1
- data/lib/clerk-http-client/models/totp.rb +1 -1
- data/lib/clerk-http-client/models/update_domain_request.rb +1 -1
- data/lib/clerk-http-client/models/update_email_address_request.rb +1 -1
- data/lib/clerk-http-client/models/update_instance_auth_config200_response.rb +1 -1
- data/lib/clerk-http-client/models/update_instance_auth_config_request.rb +1 -1
- data/lib/clerk-http-client/models/update_instance_organization_settings_request.rb +1 -1
- data/lib/clerk-http-client/models/update_instance_request.rb +1 -1
- data/lib/clerk-http-client/models/update_instance_restrictions_request.rb +1 -1
- data/lib/clerk-http-client/models/{update_o_auth_application_request.rb → update_oauth_application_request.rb} +1 -1
- data/lib/clerk-http-client/models/update_organization_domain_request.rb +1 -1
- data/lib/clerk-http-client/models/update_organization_membership_metadata_request.rb +9 -5
- data/lib/clerk-http-client/models/update_organization_membership_request.rb +1 -1
- data/lib/clerk-http-client/models/update_organization_request.rb +9 -5
- data/lib/clerk-http-client/models/update_phone_number_request.rb +1 -1
- data/lib/clerk-http-client/models/update_production_instance_domain_request.rb +1 -1
- data/lib/clerk-http-client/models/update_saml_connection_request.rb +13 -2
- data/lib/clerk-http-client/models/update_saml_connection_request_attribute_mapping.rb +1 -1
- data/lib/clerk-http-client/models/update_sign_up_request.rb +1 -1
- data/lib/clerk-http-client/models/update_user_metadata_request.rb +1 -1
- data/lib/clerk-http-client/models/update_user_request.rb +13 -7
- data/lib/clerk-http-client/models/upsert_template_request.rb +1 -1
- data/lib/clerk-http-client/models/user.rb +13 -7
- data/lib/clerk-http-client/models/verify_client_request.rb +1 -1
- data/lib/clerk-http-client/models/verify_domain_proxy_request.rb +1 -1
- data/lib/clerk-http-client/models/verify_password200_response.rb +1 -1
- data/lib/clerk-http-client/models/verify_password_request.rb +1 -1
- data/lib/clerk-http-client/models/verify_session_request.rb +1 -1
- data/lib/clerk-http-client/models/verify_totp200_response.rb +1 -1
- data/lib/clerk-http-client/models/verify_totp_request.rb +1 -1
- data/lib/clerk-http-client/models/waitlist_entry.rb +369 -0
- data/lib/clerk-http-client/models/waitlist_entry_invitation.rb +397 -0
- data/lib/clerk-http-client/models/web3_signature.rb +3 -3
- data/lib/clerk-http-client/models/web3_wallet.rb +1 -1
- data/lib/clerk-http-client/models/web3_wallet_verification.rb +1 -1
- data/lib/clerk-http-client/version.rb +1 -1
- data/lib/clerk-http-client.rb +54 -59
- data/spec/api/actor_tokens_api_spec.rb +1 -1
- data/spec/api/allow_list_block_list_api_spec.rb +2 -2
- data/spec/api/beta_features_api_spec.rb +2 -2
- data/spec/api/clients_api_spec.rb +1 -1
- data/spec/api/domains_api_spec.rb +1 -1
- data/spec/api/email_addresses_api_spec.rb +2 -2
- data/spec/api/instance_settings_api_spec.rb +3 -3
- data/spec/api/invitations_api_spec.rb +1 -1
- data/spec/api/jwt_templates_api_spec.rb +2 -2
- data/spec/api/{o_auth_applications_api_spec.rb → oauth_applications_api_spec.rb} +15 -15
- data/spec/api/organizations_api_spec.rb +1 -1
- data/spec/api/phone_numbers_api_spec.rb +2 -2
- data/spec/api/proxy_checks_api_spec.rb +1 -1
- data/spec/api/redirect_urls_api_spec.rb +1 -1
- data/spec/api/saml_connections_api_spec.rb +1 -1
- data/spec/api/sign_in_tokens_api_spec.rb +1 -1
- data/spec/api/sign_ups_api_spec.rb +1 -1
- data/spec/api/users_api_spec.rb +3 -3
- data/spec/api/waitlist_entries_api_spec.rb +63 -0
- data/spec/models/cname_target_spec.rb +48 -0
- data/spec/models/create_bulk_invitations_request_inner_spec.rb +66 -0
- data/spec/models/create_oauth_application_request_spec.rb +54 -0
- data/spec/models/create_session_request_spec.rb +36 -0
- data/spec/models/create_session_token200_response_spec.rb +46 -0
- data/spec/models/create_session_token_from_template_request_spec.rb +36 -0
- data/spec/models/create_session_token_request_spec.rb +36 -0
- data/spec/models/create_waitlist_entry_request_spec.rb +42 -0
- data/spec/models/from_o_auth_error_spec.rb +32 -0
- data/spec/models/from_o_auth_spec.rb +64 -0
- data/spec/models/from_oauth_error_spec.rb +32 -0
- data/spec/models/from_oauth_spec.rb +64 -0
- data/spec/models/get_oauth_access_token200_response_inner_spec.rb +90 -0
- data/spec/models/identification_link_spec.rb +1 -1
- data/spec/models/instance_spec.rb +58 -0
- data/spec/models/jwks_keys_inner_spec.rb +78 -0
- data/spec/models/jwks_spec.rb +36 -0
- data/spec/models/list_waitlist_entries200_response_spec.rb +42 -0
- data/spec/models/oauth_application_spec.rb +124 -0
- data/spec/models/oauth_application_with_secret_spec.rb +130 -0
- data/spec/models/oauth_applications_spec.rb +42 -0
- data/spec/models/oauth_spec.rb +1 -1
- data/spec/models/update_oauth_application_request_spec.rb +48 -0
- data/spec/models/waitlist_entry_invitation_spec.rb +98 -0
- data/spec/models/waitlist_entry_spec.rb +86 -0
- data/spec/spec_helper.rb +1 -1
- metadata +104 -65
- data/bin/fmt +0 -5
- data/bin/generate +0 -8
- data/bin/setup +0 -7
- data/openapitools.json +0 -7
- data/pkg/clerk-http-client-1.0.0.gem +0 -0
- data/resources/.DS_Store +0 -0
- data/resources/oas/bapi-2024-10-01.yml +0 -7238
- data/resources/templates/Gemfile.mustache +0 -9
- data/resources/templates/README.mustache +0 -163
- data/resources/templates/Rakefile.mustache +0 -10
- data/resources/templates/api.mustache +0 -257
- data/resources/templates/api_client.mustache +0 -246
- data/resources/templates/api_client_faraday_partial.mustache +0 -200
- data/resources/templates/api_client_httpx_partial.mustache +0 -134
- data/resources/templates/api_client_typhoeus_partial.mustache +0 -161
- data/resources/templates/api_doc.mustache +0 -132
- data/resources/templates/api_error.mustache +0 -50
- data/resources/templates/api_info.mustache +0 -12
- data/resources/templates/api_test.mustache +0 -47
- data/resources/templates/base_object.mustache +0 -114
- data/resources/templates/configuration.mustache +0 -491
- data/resources/templates/configuration_faraday_partial.mustache +0 -40
- data/resources/templates/configuration_httpx_partial.mustache +0 -11
- data/resources/templates/configuration_typhoeus_partial.mustache +0 -41
- data/resources/templates/gem.mustache +0 -89
- data/resources/templates/gemspec.mustache +0 -41
- data/resources/templates/git_push.sh.mustache +0 -57
- data/resources/templates/gitignore.mustache +0 -39
- data/resources/templates/gitlab-ci.mustache +0 -26
- data/resources/templates/model.mustache +0 -33
- data/resources/templates/model_doc.mustache +0 -12
- data/resources/templates/model_test.mustache +0 -82
- data/resources/templates/partial_model_enum_class.mustache +0 -23
- data/resources/templates/partial_model_generic.mustache +0 -377
- data/resources/templates/partial_model_generic_doc.mustache +0 -28
- data/resources/templates/partial_oneof_module_doc.mustache +0 -93
- data/resources/templates/rspec.mustache +0 -2
- data/resources/templates/rubocop.mustache +0 -148
- data/resources/templates/spec_helper.mustache +0 -103
- data/resources/templates/travis.mustache +0 -11
- data/resources/templates/version.mustache +0 -7
- data/sdk-generator-config.json +0 -25
- /data/docs/{CNameTarget.md → CnameTarget.md} +0 -0
- /data/docs/{CreateRedirectURLRequest.md → CreateRedirectUrlRequest.md} +0 -0
- /data/docs/{OAuthApplications.md → OauthApplications.md} +0 -0
- /data/docs/{RedirectURL.md → RedirectUrl.md} +0 -0
- /data/docs/{SvixURL.md → SvixUrl.md} +0 -0
- /data/docs/{UpdateOAuthApplicationRequest.md → UpdateOauthApplicationRequest.md} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1ce3351f8813300cb08ab140c82ad4031b64b639ea93e432178458d51f1c802
|
4
|
+
data.tar.gz: df7c20a6bf70f5826ed5e89ba69ac79888326c138a6a90b4424e1009dc11c4ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e32344d49e2dd1543a05068c5ca48a45620dacf47dcc3e01a6cd1a598d04e2de7cf609d50e27af59ad412c504b354a4aa775cd981696c610ae4cb29929425f44
|
7
|
+
data.tar.gz: 987b08eec46c53b7b5b599bca331465ee22e689d517f511ec5eb1e54ee02eff48625161055f5b09af7951a3ffcde78c72af83305bae50da25a94c5c798943995
|
data/Gemfile.lock
CHANGED
@@ -24,14 +24,14 @@ GEM
|
|
24
24
|
net-http (>= 0.5.0)
|
25
25
|
jaro_winkler (1.5.6)
|
26
26
|
json (2.9.1)
|
27
|
-
logger (1.6.
|
27
|
+
logger (1.6.5)
|
28
28
|
marcel (1.0.4)
|
29
29
|
method_source (1.1.0)
|
30
30
|
multipart-post (2.4.1)
|
31
31
|
net-http (0.6.0)
|
32
32
|
uri
|
33
33
|
parallel (1.26.3)
|
34
|
-
parser (3.3.
|
34
|
+
parser (3.3.7.0)
|
35
35
|
ast (~> 2.4.1)
|
36
36
|
racc
|
37
37
|
pry (0.14.2)
|
@@ -40,7 +40,7 @@ GEM
|
|
40
40
|
pry-byebug (3.10.1)
|
41
41
|
byebug (~> 11.0)
|
42
42
|
pry (>= 0.13, < 0.15)
|
43
|
-
psych (5.2.
|
43
|
+
psych (5.2.3)
|
44
44
|
date
|
45
45
|
stringio
|
46
46
|
racc (1.8.1)
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
Clerk Ruby HTTP Client
|
2
2
|
|
3
3
|
ClerkHttpClient - the Ruby gem for the Clerk Backend API
|
4
4
|
|
@@ -13,81 +13,31 @@ Each version is identified by its release date, e.g. `2021-02-05`. For more info
|
|
13
13
|
|
14
14
|
Please see https://clerk.com/docs for more information.
|
15
15
|
|
16
|
-
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project
|
16
|
+
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project and is designed to be used soley with the [Clerk Ruby SDK](https://github.com/clerk/clerk-sdk-ruby).
|
17
17
|
|
18
18
|
- API version: v1
|
19
19
|
- Package version: 1.0.0
|
20
|
-
- Generator version:
|
21
|
-
- Build package: org.openapitools.codegen.languages.
|
20
|
+
- Generator version: unset
|
21
|
+
- Build package: org.openapitools.codegen.languages.ClerkRubyClientCodegen
|
22
|
+
|
22
23
|
For more information, please visit [https://clerk.com/support](https://clerk.com/support)
|
23
24
|
|
24
|
-
##
|
25
|
+
## Getting Started
|
25
26
|
|
26
|
-
|
27
|
+
Please note that this client is not meant to be used directly.
|
28
|
+
It is designed to be used soley with the [Clerk Ruby SDK](https://github.com/clerk/clerk-sdk-ruby).
|
29
|
+
Please review that repository for setup information.
|
27
30
|
|
28
|
-
|
31
|
+
## Installation
|
29
32
|
|
30
33
|
```shell
|
31
|
-
gem
|
34
|
+
gem 'clerk-http-client', '~> 1.0.0'
|
32
35
|
```
|
33
36
|
|
34
|
-
|
37
|
+
## Generate a client
|
35
38
|
|
36
39
|
```shell
|
37
|
-
|
38
|
-
```
|
39
|
-
|
40
|
-
(for development, run `gem install --dev ./clerk-http-client-1.0.0.gem` to install the development dependencies)
|
41
|
-
|
42
|
-
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
43
|
-
|
44
|
-
Finally add this to the Gemfile:
|
45
|
-
|
46
|
-
gem 'clerk-http-client', '~> 1.0.0'
|
47
|
-
|
48
|
-
### Install from Git
|
49
|
-
|
50
|
-
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
51
|
-
|
52
|
-
gem 'clerk-http-client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
53
|
-
|
54
|
-
### Include the Ruby code directly
|
55
|
-
|
56
|
-
Include the Ruby code directly using `-I` as follows:
|
57
|
-
|
58
|
-
```shell
|
59
|
-
ruby -Ilib script.rb
|
60
|
-
```
|
61
|
-
|
62
|
-
## Getting Started
|
63
|
-
|
64
|
-
Please follow the [installation](#installation) procedure and then run the following code:
|
65
|
-
|
66
|
-
```ruby
|
67
|
-
# Load the gem
|
68
|
-
require 'clerk-http-client'
|
69
|
-
|
70
|
-
# Setup authorization
|
71
|
-
ClerkHttpClient.configure do |config|
|
72
|
-
# Configure Bearer authorization (sk_<environment>_<secret value>): bearerAuth
|
73
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
74
|
-
# Configure a proc to get access tokens in lieu of the static access_token configuration
|
75
|
-
config.access_token_getter = -> { 'YOUR TOKEN GETTER PROC' }
|
76
|
-
# Configure faraday connection
|
77
|
-
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
78
|
-
end
|
79
|
-
|
80
|
-
api_instance = ClerkHttpClient::ActorTokensApi.new
|
81
|
-
create_actor_token_request = ClerkHttpClient::CreateActorTokenRequest.new({user_id: 'user_id_example', actor: {"sub":"user_2OEpKhcCN1Lat9NQ0G6puh7q5Rb"}}) # CreateActorTokenRequest |
|
82
|
-
|
83
|
-
begin
|
84
|
-
#Create actor token
|
85
|
-
result = api_instance.create_actor_token(create_actor_token_request)
|
86
|
-
p result
|
87
|
-
rescue ClerkHttpClient::ApiError => e
|
88
|
-
puts "Exception when calling ActorTokensApi->create_actor_token: #{e}"
|
89
|
-
end
|
90
|
-
|
40
|
+
bin/generate
|
91
41
|
```
|
92
42
|
|
93
43
|
## Documentation for API Endpoints
|
@@ -96,129 +46,135 @@ All URIs are relative to *https://api.clerk.com/v1*
|
|
96
46
|
|
97
47
|
Class | Method | HTTP request | Description
|
98
48
|
------------ | ------------- | ------------- | -------------
|
99
|
-
*
|
100
|
-
*
|
101
|
-
*
|
102
|
-
*
|
103
|
-
*
|
104
|
-
*
|
105
|
-
*
|
106
|
-
*
|
107
|
-
*
|
108
|
-
*
|
109
|
-
*
|
110
|
-
*
|
111
|
-
*
|
112
|
-
*
|
113
|
-
*
|
114
|
-
*
|
115
|
-
*
|
116
|
-
*
|
117
|
-
*
|
118
|
-
*
|
119
|
-
*
|
120
|
-
*
|
121
|
-
*
|
122
|
-
*
|
123
|
-
*
|
124
|
-
*
|
125
|
-
*
|
126
|
-
*
|
127
|
-
*
|
128
|
-
*
|
129
|
-
*
|
130
|
-
*
|
131
|
-
*
|
132
|
-
*
|
133
|
-
*
|
134
|
-
*
|
135
|
-
*
|
136
|
-
*
|
137
|
-
*
|
138
|
-
*
|
139
|
-
*
|
140
|
-
*
|
141
|
-
*
|
142
|
-
*
|
143
|
-
*
|
144
|
-
*
|
145
|
-
*
|
146
|
-
*
|
147
|
-
*
|
148
|
-
*
|
149
|
-
*
|
150
|
-
*
|
151
|
-
*
|
152
|
-
*
|
153
|
-
*
|
154
|
-
*
|
155
|
-
*
|
156
|
-
*
|
157
|
-
*
|
158
|
-
*
|
159
|
-
*
|
160
|
-
*
|
161
|
-
*
|
162
|
-
*
|
163
|
-
*
|
164
|
-
*
|
165
|
-
*
|
166
|
-
*
|
167
|
-
*
|
168
|
-
*
|
169
|
-
*
|
170
|
-
*
|
171
|
-
*
|
172
|
-
*
|
173
|
-
*
|
174
|
-
*
|
175
|
-
*
|
176
|
-
*
|
177
|
-
*
|
178
|
-
*
|
179
|
-
*
|
180
|
-
*
|
181
|
-
*
|
182
|
-
*
|
183
|
-
*
|
184
|
-
*
|
185
|
-
*
|
186
|
-
*
|
187
|
-
*
|
188
|
-
*
|
189
|
-
*
|
190
|
-
*
|
191
|
-
*
|
192
|
-
*
|
193
|
-
*
|
194
|
-
*
|
195
|
-
*
|
196
|
-
*
|
197
|
-
*
|
198
|
-
*
|
199
|
-
*
|
200
|
-
*
|
201
|
-
*
|
202
|
-
*
|
203
|
-
*
|
204
|
-
*
|
205
|
-
*
|
206
|
-
*
|
207
|
-
*
|
208
|
-
*
|
209
|
-
*
|
210
|
-
*
|
211
|
-
*
|
212
|
-
*
|
213
|
-
*
|
214
|
-
*
|
215
|
-
*
|
216
|
-
*
|
217
|
-
*
|
218
|
-
*
|
219
|
-
*
|
220
|
-
*
|
221
|
-
*
|
49
|
+
*Clerk::SDK.actor_tokens* | [**create_actor_token**](docs/ActorTokensApi.md#create_actor_token) | **POST** /actor_tokens | Create actor token
|
50
|
+
*Clerk::SDK.actor_tokens* | [**revoke_actor_token**](docs/ActorTokensApi.md#revoke_actor_token) | **POST** /actor_tokens/{actor_token_id}/revoke | Revoke actor token
|
51
|
+
*Clerk::SDK.allow_list_block_list* | [**create_allowlist_identifier**](docs/AllowListBlockListApi.md#create_allowlist_identifier) | **POST** /allowlist_identifiers | Add identifier to the allow-list
|
52
|
+
*Clerk::SDK.allow_list_block_list* | [**create_blocklist_identifier**](docs/AllowListBlockListApi.md#create_blocklist_identifier) | **POST** /blocklist_identifiers | Add identifier to the block-list
|
53
|
+
*Clerk::SDK.allow_list_block_list* | [**delete_allowlist_identifier**](docs/AllowListBlockListApi.md#delete_allowlist_identifier) | **DELETE** /allowlist_identifiers/{identifier_id} | Delete identifier from allow-list
|
54
|
+
*Clerk::SDK.allow_list_block_list* | [**delete_blocklist_identifier**](docs/AllowListBlockListApi.md#delete_blocklist_identifier) | **DELETE** /blocklist_identifiers/{identifier_id} | Delete identifier from block-list
|
55
|
+
*Clerk::SDK.allow_list_block_list* | [**list_allowlist_identifiers**](docs/AllowListBlockListApi.md#list_allowlist_identifiers) | **GET** /allowlist_identifiers | List all identifiers on the allow-list
|
56
|
+
*Clerk::SDK.allow_list_block_list* | [**list_blocklist_identifiers**](docs/AllowListBlockListApi.md#list_blocklist_identifiers) | **GET** /blocklist_identifiers | List all identifiers on the block-list
|
57
|
+
*Clerk::SDK.beta_features* | [**change_production_instance_domain**](docs/BetaFeaturesApi.md#change_production_instance_domain) | **POST** /instance/change_domain | Update production instance domain
|
58
|
+
*Clerk::SDK.beta_features* | [**update_instance_auth_config**](docs/BetaFeaturesApi.md#update_instance_auth_config) | **PATCH** /beta_features/instance_settings | Update instance settings
|
59
|
+
*Clerk::SDK.beta_features* | [**update_production_instance_domain**](docs/BetaFeaturesApi.md#update_production_instance_domain) | **PUT** /beta_features/domain | Update production instance domain
|
60
|
+
*Clerk::SDK.clients* | [**get_client**](docs/ClientsApi.md#get_client) | **GET** /clients/{client_id} | Get a client
|
61
|
+
*Clerk::SDK.clients* | [**get_client_list**](docs/ClientsApi.md#get_client_list) | **GET** /clients | List all clients
|
62
|
+
*Clerk::SDK.clients* | [**verify_client**](docs/ClientsApi.md#verify_client) | **POST** /clients/verify | Verify a client
|
63
|
+
*Clerk::SDK.domains* | [**add_domain**](docs/DomainsApi.md#add_domain) | **POST** /domains | Add a domain
|
64
|
+
*Clerk::SDK.domains* | [**delete_domain**](docs/DomainsApi.md#delete_domain) | **DELETE** /domains/{domain_id} | Delete a satellite domain
|
65
|
+
*Clerk::SDK.domains* | [**list_domains**](docs/DomainsApi.md#list_domains) | **GET** /domains | List all instance domains
|
66
|
+
*Clerk::SDK.domains* | [**update_domain**](docs/DomainsApi.md#update_domain) | **PATCH** /domains/{domain_id} | Update a domain
|
67
|
+
*Clerk::SDK.email_addresses* | [**create_email_address**](docs/EmailAddressesApi.md#create_email_address) | **POST** /email_addresses | Create an email address
|
68
|
+
*Clerk::SDK.email_addresses* | [**delete_email_address**](docs/EmailAddressesApi.md#delete_email_address) | **DELETE** /email_addresses/{email_address_id} | Delete an email address
|
69
|
+
*Clerk::SDK.email_addresses* | [**get_email_address**](docs/EmailAddressesApi.md#get_email_address) | **GET** /email_addresses/{email_address_id} | Retrieve an email address
|
70
|
+
*Clerk::SDK.email_addresses* | [**update_email_address**](docs/EmailAddressesApi.md#update_email_address) | **PATCH** /email_addresses/{email_address_id} | Update an email address
|
71
|
+
*Clerk::SDK.email_sms_templates* | [**get_template**](docs/EmailSMSTemplatesApi.md#get_template) | **GET** /templates/{template_type}/{slug} | Retrieve a template
|
72
|
+
*Clerk::SDK.email_sms_templates* | [**get_template_list**](docs/EmailSMSTemplatesApi.md#get_template_list) | **GET** /templates/{template_type} | List all templates
|
73
|
+
*Clerk::SDK.email_sms_templates* | [**preview_template**](docs/EmailSMSTemplatesApi.md#preview_template) | **POST** /templates/{template_type}/{slug}/preview | Preview changes to a template
|
74
|
+
*Clerk::SDK.email_sms_templates* | [**revert_template**](docs/EmailSMSTemplatesApi.md#revert_template) | **POST** /templates/{template_type}/{slug}/revert | Revert a template
|
75
|
+
*Clerk::SDK.email_sms_templates* | [**toggle_template_delivery**](docs/EmailSMSTemplatesApi.md#toggle_template_delivery) | **POST** /templates/{template_type}/{slug}/toggle_delivery | Toggle the delivery by Clerk for a template of a given type and slug
|
76
|
+
*Clerk::SDK.email_sms_templates* | [**upsert_template**](docs/EmailSMSTemplatesApi.md#upsert_template) | **PUT** /templates/{template_type}/{slug} | Update a template for a given type and slug
|
77
|
+
*Clerk::SDK.instance_settings* | [**get_instance**](docs/InstanceSettingsApi.md#get_instance) | **GET** /instance | Fetch the current instance
|
78
|
+
*Clerk::SDK.instance_settings* | [**update_instance**](docs/InstanceSettingsApi.md#update_instance) | **PATCH** /instance | Update instance settings
|
79
|
+
*Clerk::SDK.instance_settings* | [**update_instance_organization_settings**](docs/InstanceSettingsApi.md#update_instance_organization_settings) | **PATCH** /instance/organization_settings | Update instance organization settings
|
80
|
+
*Clerk::SDK.instance_settings* | [**update_instance_restrictions**](docs/InstanceSettingsApi.md#update_instance_restrictions) | **PATCH** /instance/restrictions | Update instance restrictions
|
81
|
+
*Clerk::SDK.invitations* | [**create_bulk_invitations**](docs/InvitationsApi.md#create_bulk_invitations) | **POST** /invitations/bulk | Create multiple invitations
|
82
|
+
*Clerk::SDK.invitations* | [**create_invitation**](docs/InvitationsApi.md#create_invitation) | **POST** /invitations | Create an invitation
|
83
|
+
*Clerk::SDK.invitations* | [**list_invitations**](docs/InvitationsApi.md#list_invitations) | **GET** /invitations | List all invitations
|
84
|
+
*Clerk::SDK.invitations* | [**revoke_invitation**](docs/InvitationsApi.md#revoke_invitation) | **POST** /invitations/{invitation_id}/revoke | Revokes an invitation
|
85
|
+
*Clerk::SDK.jwks* | [**get_jwks**](docs/JWKSApi.md#get_jwks) | **GET** /jwks | Retrieve the JSON Web Key Set of the instance
|
86
|
+
*Clerk::SDK.jwt_templates* | [**create_jwt_template**](docs/JWTTemplatesApi.md#create_jwt_template) | **POST** /jwt_templates | Create a JWT template
|
87
|
+
*Clerk::SDK.jwt_templates* | [**delete_jwt_template**](docs/JWTTemplatesApi.md#delete_jwt_template) | **DELETE** /jwt_templates/{template_id} | Delete a Template
|
88
|
+
*Clerk::SDK.jwt_templates* | [**get_jwt_template**](docs/JWTTemplatesApi.md#get_jwt_template) | **GET** /jwt_templates/{template_id} | Retrieve a template
|
89
|
+
*Clerk::SDK.jwt_templates* | [**list_jwt_templates**](docs/JWTTemplatesApi.md#list_jwt_templates) | **GET** /jwt_templates | List all templates
|
90
|
+
*Clerk::SDK.jwt_templates* | [**update_jwt_template**](docs/JWTTemplatesApi.md#update_jwt_template) | **PATCH** /jwt_templates/{template_id} | Update a JWT template
|
91
|
+
*Clerk::SDK.miscellaneous* | [**get_public_interstitial**](docs/MiscellaneousApi.md#get_public_interstitial) | **GET** /public/interstitial | Returns the markup for the interstitial page
|
92
|
+
*Clerk::SDK.oauth_applications* | [**create_oauth_application**](docs/OAuthApplicationsApi.md#create_oauth_application) | **POST** /oauth_applications | Create an OAuth application
|
93
|
+
*Clerk::SDK.oauth_applications* | [**delete_oauth_application**](docs/OAuthApplicationsApi.md#delete_oauth_application) | **DELETE** /oauth_applications/{oauth_application_id} | Delete an OAuth application
|
94
|
+
*Clerk::SDK.oauth_applications* | [**get_oauth_application**](docs/OAuthApplicationsApi.md#get_oauth_application) | **GET** /oauth_applications/{oauth_application_id} | Retrieve an OAuth application by ID
|
95
|
+
*Clerk::SDK.oauth_applications* | [**list_oauth_applications**](docs/OAuthApplicationsApi.md#list_oauth_applications) | **GET** /oauth_applications | Get a list of OAuth applications for an instance
|
96
|
+
*Clerk::SDK.oauth_applications* | [**rotate_oauth_application_secret**](docs/OAuthApplicationsApi.md#rotate_oauth_application_secret) | **POST** /oauth_applications/{oauth_application_id}/rotate_secret | Rotate the client secret of the given OAuth application
|
97
|
+
*Clerk::SDK.oauth_applications* | [**update_oauth_application**](docs/OAuthApplicationsApi.md#update_oauth_application) | **PATCH** /oauth_applications/{oauth_application_id} | Update an OAuth application
|
98
|
+
*Clerk::SDK.organization_domains* | [**create_organization_domain**](docs/OrganizationDomainsApi.md#create_organization_domain) | **POST** /organizations/{organization_id}/domains | Create a new organization domain.
|
99
|
+
*Clerk::SDK.organization_domains* | [**delete_organization_domain**](docs/OrganizationDomainsApi.md#delete_organization_domain) | **DELETE** /organizations/{organization_id}/domains/{domain_id} | Remove a domain from an organization.
|
100
|
+
*Clerk::SDK.organization_domains* | [**list_organization_domains**](docs/OrganizationDomainsApi.md#list_organization_domains) | **GET** /organizations/{organization_id}/domains | Get a list of all domains of an organization.
|
101
|
+
*Clerk::SDK.organization_domains* | [**update_organization_domain**](docs/OrganizationDomainsApi.md#update_organization_domain) | **PATCH** /organizations/{organization_id}/domains/{domain_id} | Update an organization domain.
|
102
|
+
*Clerk::SDK.organization_invitations* | [**create_organization_invitation**](docs/OrganizationInvitationsApi.md#create_organization_invitation) | **POST** /organizations/{organization_id}/invitations | Create and send an organization invitation
|
103
|
+
*Clerk::SDK.organization_invitations* | [**create_organization_invitation_bulk**](docs/OrganizationInvitationsApi.md#create_organization_invitation_bulk) | **POST** /organizations/{organization_id}/invitations/bulk | Bulk create and send organization invitations
|
104
|
+
*Clerk::SDK.organization_invitations* | [**get_organization_invitation**](docs/OrganizationInvitationsApi.md#get_organization_invitation) | **GET** /organizations/{organization_id}/invitations/{invitation_id} | Retrieve an organization invitation by ID
|
105
|
+
*Clerk::SDK.organization_invitations* | [**list_instance_organization_invitations**](docs/OrganizationInvitationsApi.md#list_instance_organization_invitations) | **GET** /organization_invitations | Get a list of organization invitations for the current instance
|
106
|
+
*Clerk::SDK.organization_invitations* | [**list_organization_invitations**](docs/OrganizationInvitationsApi.md#list_organization_invitations) | **GET** /organizations/{organization_id}/invitations | Get a list of organization invitations
|
107
|
+
*Clerk::SDK.organization_invitations* | [**list_pending_organization_invitations**](docs/OrganizationInvitationsApi.md#list_pending_organization_invitations) | **GET** /organizations/{organization_id}/invitations/pending | Get a list of pending organization invitations
|
108
|
+
*Clerk::SDK.organization_invitations* | [**revoke_organization_invitation**](docs/OrganizationInvitationsApi.md#revoke_organization_invitation) | **POST** /organizations/{organization_id}/invitations/{invitation_id}/revoke | Revoke a pending organization invitation
|
109
|
+
*Clerk::SDK.organization_memberships* | [**create_organization_membership**](docs/OrganizationMembershipsApi.md#create_organization_membership) | **POST** /organizations/{organization_id}/memberships | Create a new organization membership
|
110
|
+
*Clerk::SDK.organization_memberships* | [**delete_organization_membership**](docs/OrganizationMembershipsApi.md#delete_organization_membership) | **DELETE** /organizations/{organization_id}/memberships/{user_id} | Remove a member from an organization
|
111
|
+
*Clerk::SDK.organization_memberships* | [**instance_get_organization_memberships**](docs/OrganizationMembershipsApi.md#instance_get_organization_memberships) | **GET** /organization_memberships | Get a list of all organization memberships within an instance.
|
112
|
+
*Clerk::SDK.organization_memberships* | [**list_organization_memberships**](docs/OrganizationMembershipsApi.md#list_organization_memberships) | **GET** /organizations/{organization_id}/memberships | Get a list of all members of an organization
|
113
|
+
*Clerk::SDK.organization_memberships* | [**update_organization_membership**](docs/OrganizationMembershipsApi.md#update_organization_membership) | **PATCH** /organizations/{organization_id}/memberships/{user_id} | Update an organization membership
|
114
|
+
*Clerk::SDK.organization_memberships* | [**update_organization_membership_metadata**](docs/OrganizationMembershipsApi.md#update_organization_membership_metadata) | **PATCH** /organizations/{organization_id}/memberships/{user_id}/metadata | Merge and update organization membership metadata
|
115
|
+
*Clerk::SDK.organizations* | [**create_organization**](docs/OrganizationsApi.md#create_organization) | **POST** /organizations | Create an organization
|
116
|
+
*Clerk::SDK.organizations* | [**delete_organization**](docs/OrganizationsApi.md#delete_organization) | **DELETE** /organizations/{organization_id} | Delete an organization
|
117
|
+
*Clerk::SDK.organizations* | [**delete_organization_logo**](docs/OrganizationsApi.md#delete_organization_logo) | **DELETE** /organizations/{organization_id}/logo |
|
118
|
+
*Clerk::SDK.organizations* | [**get_organization**](docs/OrganizationsApi.md#get_organization) | **GET** /organizations/{organization_id} | Retrieve an organization by ID or slug
|
119
|
+
*Clerk::SDK.organizations* | [**list_organizations**](docs/OrganizationsApi.md#list_organizations) | **GET** /organizations | Get a list of organizations for an instance
|
120
|
+
*Clerk::SDK.organizations* | [**merge_organization_metadata**](docs/OrganizationsApi.md#merge_organization_metadata) | **PATCH** /organizations/{organization_id}/metadata | Merge and update metadata for an organization
|
121
|
+
*Clerk::SDK.organizations* | [**update_organization**](docs/OrganizationsApi.md#update_organization) | **PATCH** /organizations/{organization_id} | Update an organization
|
122
|
+
*Clerk::SDK.organizations* | [**upload_organization_logo**](docs/OrganizationsApi.md#upload_organization_logo) | **PUT** /organizations/{organization_id}/logo | Upload a logo for the organization
|
123
|
+
*Clerk::SDK.phone_numbers* | [**create_phone_number**](docs/PhoneNumbersApi.md#create_phone_number) | **POST** /phone_numbers | Create a phone number
|
124
|
+
*Clerk::SDK.phone_numbers* | [**delete_phone_number**](docs/PhoneNumbersApi.md#delete_phone_number) | **DELETE** /phone_numbers/{phone_number_id} | Delete a phone number
|
125
|
+
*Clerk::SDK.phone_numbers* | [**get_phone_number**](docs/PhoneNumbersApi.md#get_phone_number) | **GET** /phone_numbers/{phone_number_id} | Retrieve a phone number
|
126
|
+
*Clerk::SDK.phone_numbers* | [**update_phone_number**](docs/PhoneNumbersApi.md#update_phone_number) | **PATCH** /phone_numbers/{phone_number_id} | Update a phone number
|
127
|
+
*Clerk::SDK.proxy_checks* | [**verify_domain_proxy**](docs/ProxyChecksApi.md#verify_domain_proxy) | **POST** /proxy_checks | Verify the proxy configuration for your domain
|
128
|
+
*Clerk::SDK.redirect_urls* | [**create_redirect_url**](docs/RedirectURLsApi.md#create_redirect_url) | **POST** /redirect_urls | Create a redirect URL
|
129
|
+
*Clerk::SDK.redirect_urls* | [**delete_redirect_url**](docs/RedirectURLsApi.md#delete_redirect_url) | **DELETE** /redirect_urls/{id} | Delete a redirect URL
|
130
|
+
*Clerk::SDK.redirect_urls* | [**get_redirect_url**](docs/RedirectURLsApi.md#get_redirect_url) | **GET** /redirect_urls/{id} | Retrieve a redirect URL
|
131
|
+
*Clerk::SDK.redirect_urls* | [**list_redirect_urls**](docs/RedirectURLsApi.md#list_redirect_urls) | **GET** /redirect_urls | List all redirect URLs
|
132
|
+
*Clerk::SDK.saml_connections* | [**create_saml_connection**](docs/SAMLConnectionsApi.md#create_saml_connection) | **POST** /saml_connections | Create a SAML Connection
|
133
|
+
*Clerk::SDK.saml_connections* | [**delete_saml_connection**](docs/SAMLConnectionsApi.md#delete_saml_connection) | **DELETE** /saml_connections/{saml_connection_id} | Delete a SAML Connection
|
134
|
+
*Clerk::SDK.saml_connections* | [**get_saml_connection**](docs/SAMLConnectionsApi.md#get_saml_connection) | **GET** /saml_connections/{saml_connection_id} | Retrieve a SAML Connection by ID
|
135
|
+
*Clerk::SDK.saml_connections* | [**list_saml_connections**](docs/SAMLConnectionsApi.md#list_saml_connections) | **GET** /saml_connections | Get a list of SAML Connections for an instance
|
136
|
+
*Clerk::SDK.saml_connections* | [**update_saml_connection**](docs/SAMLConnectionsApi.md#update_saml_connection) | **PATCH** /saml_connections/{saml_connection_id} | Update a SAML Connection
|
137
|
+
*Clerk::SDK.sessions* | [**create_session**](docs/SessionsApi.md#create_session) | **POST** /sessions | Create a new active session
|
138
|
+
*Clerk::SDK.sessions* | [**create_session_token**](docs/SessionsApi.md#create_session_token) | **POST** /sessions/{session_id}/tokens | Create a session token
|
139
|
+
*Clerk::SDK.sessions* | [**create_session_token_from_template**](docs/SessionsApi.md#create_session_token_from_template) | **POST** /sessions/{session_id}/tokens/{template_name} | Create a session token from a jwt template
|
140
|
+
*Clerk::SDK.sessions* | [**get_session**](docs/SessionsApi.md#get_session) | **GET** /sessions/{session_id} | Retrieve a session
|
141
|
+
*Clerk::SDK.sessions* | [**get_session_list**](docs/SessionsApi.md#get_session_list) | **GET** /sessions | List all sessions
|
142
|
+
*Clerk::SDK.sessions* | [**revoke_session**](docs/SessionsApi.md#revoke_session) | **POST** /sessions/{session_id}/revoke | Revoke a session
|
143
|
+
*Clerk::SDK.sessions* | [**verify_session**](docs/SessionsApi.md#verify_session) | **POST** /sessions/{session_id}/verify | Verify a session
|
144
|
+
*Clerk::SDK.sign_in_tokens* | [**create_sign_in_token**](docs/SignInTokensApi.md#create_sign_in_token) | **POST** /sign_in_tokens | Create sign-in token
|
145
|
+
*Clerk::SDK.sign_in_tokens* | [**revoke_sign_in_token**](docs/SignInTokensApi.md#revoke_sign_in_token) | **POST** /sign_in_tokens/{sign_in_token_id}/revoke | Revoke the given sign-in token
|
146
|
+
*Clerk::SDK.sign_ups* | [**update_sign_up**](docs/SignUpsApi.md#update_sign_up) | **PATCH** /sign_ups/{id} | Update a sign-up
|
147
|
+
*Clerk::SDK.testing_tokens* | [**create_testing_token**](docs/TestingTokensApi.md#create_testing_token) | **POST** /testing_tokens | Retrieve a new testing token
|
148
|
+
*Clerk::SDK.users* | [**ban_user**](docs/UsersApi.md#ban_user) | **POST** /users/{user_id}/ban | Ban a user
|
149
|
+
*Clerk::SDK.users* | [**create_user**](docs/UsersApi.md#create_user) | **POST** /users | Create a new user
|
150
|
+
*Clerk::SDK.users* | [**create_user_totp**](docs/UsersApi.md#create_user_totp) | **POST** /users/{user_id}/totp | Create a TOTP for a user
|
151
|
+
*Clerk::SDK.users* | [**delete_backup_code**](docs/UsersApi.md#delete_backup_code) | **DELETE** /users/{user_id}/backup_code | Disable all user's Backup codes
|
152
|
+
*Clerk::SDK.users* | [**delete_external_account**](docs/UsersApi.md#delete_external_account) | **DELETE** /users/{user_id}/external_accounts/{external_account_id} | Delete External Account
|
153
|
+
*Clerk::SDK.users* | [**delete_totp**](docs/UsersApi.md#delete_totp) | **DELETE** /users/{user_id}/totp | Delete all the user's TOTPs
|
154
|
+
*Clerk::SDK.users* | [**delete_user**](docs/UsersApi.md#delete_user) | **DELETE** /users/{user_id} | Delete a user
|
155
|
+
*Clerk::SDK.users* | [**delete_user_profile_image**](docs/UsersApi.md#delete_user_profile_image) | **DELETE** /users/{user_id}/profile_image | Delete user profile image
|
156
|
+
*Clerk::SDK.users* | [**disable_mfa**](docs/UsersApi.md#disable_mfa) | **DELETE** /users/{user_id}/mfa | Disable a user's MFA methods
|
157
|
+
*Clerk::SDK.users* | [**get_oauth_access_token**](docs/UsersApi.md#get_oauth_access_token) | **GET** /users/{user_id}/oauth_access_tokens/{provider} | Retrieve the OAuth access token of a user
|
158
|
+
*Clerk::SDK.users* | [**get_user**](docs/UsersApi.md#get_user) | **GET** /users/{user_id} | Retrieve a user
|
159
|
+
*Clerk::SDK.users* | [**get_user_list**](docs/UsersApi.md#get_user_list) | **GET** /users | List all users
|
160
|
+
*Clerk::SDK.users* | [**get_users_count**](docs/UsersApi.md#get_users_count) | **GET** /users/count | Count users
|
161
|
+
*Clerk::SDK.users* | [**lock_user**](docs/UsersApi.md#lock_user) | **POST** /users/{user_id}/lock | Lock a user
|
162
|
+
*Clerk::SDK.users* | [**set_user_profile_image**](docs/UsersApi.md#set_user_profile_image) | **POST** /users/{user_id}/profile_image | Set user profile image
|
163
|
+
*Clerk::SDK.users* | [**unban_user**](docs/UsersApi.md#unban_user) | **POST** /users/{user_id}/unban | Unban a user
|
164
|
+
*Clerk::SDK.users* | [**unlock_user**](docs/UsersApi.md#unlock_user) | **POST** /users/{user_id}/unlock | Unlock a user
|
165
|
+
*Clerk::SDK.users* | [**update_user**](docs/UsersApi.md#update_user) | **PATCH** /users/{user_id} | Update a user
|
166
|
+
*Clerk::SDK.users* | [**update_user_metadata**](docs/UsersApi.md#update_user_metadata) | **PATCH** /users/{user_id}/metadata | Merge and update a user's metadata
|
167
|
+
*Clerk::SDK.users* | [**user_passkey_delete**](docs/UsersApi.md#user_passkey_delete) | **DELETE** /users/{user_id}/passkeys/{passkey_identification_id} | Delete a user passkey
|
168
|
+
*Clerk::SDK.users* | [**user_web3_wallet_delete**](docs/UsersApi.md#user_web3_wallet_delete) | **DELETE** /users/{user_id}/web3_wallets/{web3_wallet_identification_id} | Delete a user web3 wallet
|
169
|
+
*Clerk::SDK.users* | [**users_get_organization_invitations**](docs/UsersApi.md#users_get_organization_invitations) | **GET** /users/{user_id}/organization_invitations | Retrieve all invitations for a user
|
170
|
+
*Clerk::SDK.users* | [**users_get_organization_memberships**](docs/UsersApi.md#users_get_organization_memberships) | **GET** /users/{user_id}/organization_memberships | Retrieve all memberships for a user
|
171
|
+
*Clerk::SDK.users* | [**verify_password**](docs/UsersApi.md#verify_password) | **POST** /users/{user_id}/verify_password | Verify the password of a user
|
172
|
+
*Clerk::SDK.users* | [**verify_totp**](docs/UsersApi.md#verify_totp) | **POST** /users/{user_id}/verify_totp | Verify a TOTP or backup code for a user
|
173
|
+
*Clerk::SDK.waitlist_entries* | [**create_waitlist_entry**](docs/WaitlistEntriesApi.md#create_waitlist_entry) | **POST** /waitlist_entries | Create a waitlist entry
|
174
|
+
*Clerk::SDK.waitlist_entries* | [**list_waitlist_entries**](docs/WaitlistEntriesApi.md#list_waitlist_entries) | **GET** /waitlist_entries | List all waitlist entries
|
175
|
+
*Clerk::SDK.webhooks* | [**create_svix_app**](docs/WebhooksApi.md#create_svix_app) | **POST** /webhooks/svix | Create a Svix app
|
176
|
+
*Clerk::SDK.webhooks* | [**delete_svix_app**](docs/WebhooksApi.md#delete_svix_app) | **DELETE** /webhooks/svix | Delete a Svix app
|
177
|
+
*Clerk::SDK.webhooks* | [**generate_svix_auth_url**](docs/WebhooksApi.md#generate_svix_auth_url) | **POST** /webhooks/svix_url | Create a Svix Dashboard URL
|
222
178
|
|
223
179
|
|
224
180
|
## Documentation for Models
|
@@ -237,6 +193,7 @@ Class | Method | HTTP request | Description
|
|
237
193
|
- [ClerkHttpClient::CreateActorTokenRequest](docs/CreateActorTokenRequest.md)
|
238
194
|
- [ClerkHttpClient::CreateAllowlistIdentifierRequest](docs/CreateAllowlistIdentifierRequest.md)
|
239
195
|
- [ClerkHttpClient::CreateBlocklistIdentifierRequest](docs/CreateBlocklistIdentifierRequest.md)
|
196
|
+
- [ClerkHttpClient::CreateBulkInvitationsRequestInner](docs/CreateBulkInvitationsRequestInner.md)
|
240
197
|
- [ClerkHttpClient::CreateEmailAddressRequest](docs/CreateEmailAddressRequest.md)
|
241
198
|
- [ClerkHttpClient::CreateInvitationRequest](docs/CreateInvitationRequest.md)
|
242
199
|
- [ClerkHttpClient::CreateJWTTemplateRequest](docs/CreateJWTTemplateRequest.md)
|
@@ -250,27 +207,35 @@ Class | Method | HTTP request | Description
|
|
250
207
|
- [ClerkHttpClient::CreateRedirectURLRequest](docs/CreateRedirectURLRequest.md)
|
251
208
|
- [ClerkHttpClient::CreateSAMLConnectionRequest](docs/CreateSAMLConnectionRequest.md)
|
252
209
|
- [ClerkHttpClient::CreateSAMLConnectionRequestAttributeMapping](docs/CreateSAMLConnectionRequestAttributeMapping.md)
|
253
|
-
- [ClerkHttpClient::
|
210
|
+
- [ClerkHttpClient::CreateSessionRequest](docs/CreateSessionRequest.md)
|
211
|
+
- [ClerkHttpClient::CreateSessionToken200Response](docs/CreateSessionToken200Response.md)
|
212
|
+
- [ClerkHttpClient::CreateSessionTokenFromTemplateRequest](docs/CreateSessionTokenFromTemplateRequest.md)
|
213
|
+
- [ClerkHttpClient::CreateSessionTokenRequest](docs/CreateSessionTokenRequest.md)
|
254
214
|
- [ClerkHttpClient::CreateSignInTokenRequest](docs/CreateSignInTokenRequest.md)
|
255
215
|
- [ClerkHttpClient::CreateUserRequest](docs/CreateUserRequest.md)
|
216
|
+
- [ClerkHttpClient::CreateWaitlistEntryRequest](docs/CreateWaitlistEntryRequest.md)
|
256
217
|
- [ClerkHttpClient::DeletedObject](docs/DeletedObject.md)
|
257
218
|
- [ClerkHttpClient::DisableMFA200Response](docs/DisableMFA200Response.md)
|
258
219
|
- [ClerkHttpClient::Domain](docs/Domain.md)
|
259
220
|
- [ClerkHttpClient::Domains](docs/Domains.md)
|
260
221
|
- [ClerkHttpClient::EmailAddress](docs/EmailAddress.md)
|
261
222
|
- [ClerkHttpClient::EmailAddressVerification](docs/EmailAddressVerification.md)
|
223
|
+
- [ClerkHttpClient::FromOAuth](docs/FromOAuth.md)
|
224
|
+
- [ClerkHttpClient::FromOAuthError](docs/FromOAuthError.md)
|
262
225
|
- [ClerkHttpClient::GetOAuthAccessToken200ResponseInner](docs/GetOAuthAccessToken200ResponseInner.md)
|
263
226
|
- [ClerkHttpClient::IdentificationLink](docs/IdentificationLink.md)
|
227
|
+
- [ClerkHttpClient::Instance](docs/Instance.md)
|
264
228
|
- [ClerkHttpClient::InstanceRestrictions](docs/InstanceRestrictions.md)
|
265
229
|
- [ClerkHttpClient::Invitation](docs/Invitation.md)
|
230
|
+
- [ClerkHttpClient::JWKS](docs/JWKS.md)
|
231
|
+
- [ClerkHttpClient::JWKSKeysInner](docs/JWKSKeysInner.md)
|
266
232
|
- [ClerkHttpClient::JWTTemplate](docs/JWTTemplate.md)
|
233
|
+
- [ClerkHttpClient::ListWaitlistEntries200Response](docs/ListWaitlistEntries200Response.md)
|
267
234
|
- [ClerkHttpClient::MergeOrganizationMetadataRequest](docs/MergeOrganizationMetadataRequest.md)
|
268
235
|
- [ClerkHttpClient::OAuthApplication](docs/OAuthApplication.md)
|
269
236
|
- [ClerkHttpClient::OAuthApplicationWithSecret](docs/OAuthApplicationWithSecret.md)
|
270
237
|
- [ClerkHttpClient::OAuthApplications](docs/OAuthApplications.md)
|
271
238
|
- [ClerkHttpClient::OTP](docs/OTP.md)
|
272
|
-
- [ClerkHttpClient::Oauth](docs/Oauth.md)
|
273
|
-
- [ClerkHttpClient::OauthError](docs/OauthError.md)
|
274
239
|
- [ClerkHttpClient::Organization](docs/Organization.md)
|
275
240
|
- [ClerkHttpClient::OrganizationDomain](docs/OrganizationDomain.md)
|
276
241
|
- [ClerkHttpClient::OrganizationDomainVerification](docs/OrganizationDomainVerification.md)
|
@@ -343,11 +308,10 @@ Class | Method | HTTP request | Description
|
|
343
308
|
- [ClerkHttpClient::VerifySessionRequest](docs/VerifySessionRequest.md)
|
344
309
|
- [ClerkHttpClient::VerifyTOTP200Response](docs/VerifyTOTP200Response.md)
|
345
310
|
- [ClerkHttpClient::VerifyTOTPRequest](docs/VerifyTOTPRequest.md)
|
311
|
+
- [ClerkHttpClient::WaitlistEntry](docs/WaitlistEntry.md)
|
346
312
|
- [ClerkHttpClient::Web3Signature](docs/Web3Signature.md)
|
347
313
|
- [ClerkHttpClient::Web3Wallet](docs/Web3Wallet.md)
|
348
314
|
- [ClerkHttpClient::Web3WalletVerification](docs/Web3WalletVerification.md)
|
349
|
-
- [ClerkHttpClient::WellKnownJWKS](docs/WellKnownJWKS.md)
|
350
|
-
- [ClerkHttpClient::WellKnownJWKSKeysInner](docs/WellKnownJWKSKeysInner.md)
|
351
315
|
|
352
316
|
|
353
317
|
## Documentation for Authorization
|