clerk-http-client 1.0.0 → 2.0.0.beta2
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 +2 -1
- data/lib/clerk-http-client/models/add_domain_request.rb +2 -1
- data/lib/clerk-http-client/models/admin.rb +2 -1
- data/lib/clerk-http-client/models/allowlist_identifier.rb +2 -1
- data/lib/clerk-http-client/models/blocklist_identifier.rb +2 -1
- data/lib/clerk-http-client/models/blocklist_identifiers.rb +2 -1
- data/lib/clerk-http-client/models/change_production_instance_domain_request.rb +2 -1
- data/lib/clerk-http-client/models/clerk_error.rb +2 -1
- data/lib/clerk-http-client/models/clerk_errors.rb +2 -1
- data/lib/clerk-http-client/models/client.rb +2 -1
- data/lib/clerk-http-client/models/{c_name_target.rb → cname_target.rb} +2 -1
- data/lib/clerk-http-client/models/create_actor_token_request.rb +2 -1
- data/lib/clerk-http-client/models/create_allowlist_identifier_request.rb +2 -1
- data/lib/clerk-http-client/models/create_blocklist_identifier_request.rb +2 -1
- data/lib/clerk-http-client/models/create_bulk_invitations_request_inner.rb +306 -0
- data/lib/clerk-http-client/models/create_email_address_request.rb +2 -1
- data/lib/clerk-http-client/models/create_invitation_request.rb +58 -10
- data/lib/clerk-http-client/models/create_jwt_template_request.rb +2 -1
- data/lib/clerk-http-client/models/{create_o_auth_application_request.rb → create_oauth_application_request.rb} +2 -8
- data/lib/clerk-http-client/models/create_organization_domain_request.rb +2 -1
- data/lib/clerk-http-client/models/create_organization_invitation_bulk_request_inner.rb +12 -7
- data/lib/clerk-http-client/models/create_organization_invitation_request.rb +51 -11
- data/lib/clerk-http-client/models/create_organization_membership_request.rb +2 -1
- data/lib/clerk-http-client/models/create_organization_request.rb +10 -12
- data/lib/clerk-http-client/models/create_phone_number_request.rb +2 -1
- data/lib/clerk-http-client/models/create_redirect_url_request.rb +2 -1
- data/lib/clerk-http-client/models/create_saml_connection_request.rb +14 -2
- data/lib/clerk-http-client/models/create_saml_connection_request_attribute_mapping.rb +2 -1
- data/lib/clerk-http-client/models/create_session_request.rb +216 -0
- data/lib/clerk-http-client/models/create_session_token200_response.rb +258 -0
- data/lib/clerk-http-client/models/create_session_token_from_template_request.rb +241 -0
- data/lib/clerk-http-client/models/create_session_token_request.rb +241 -0
- data/lib/clerk-http-client/models/create_sign_in_token_request.rb +2 -1
- data/lib/clerk-http-client/models/create_user_request.rb +14 -7
- data/lib/clerk-http-client/models/create_waitlist_entry_request.rb +233 -0
- data/lib/clerk-http-client/models/deleted_object.rb +2 -1
- data/lib/clerk-http-client/models/disable_mfa200_response.rb +2 -1
- data/lib/clerk-http-client/models/domain.rb +2 -1
- data/lib/clerk-http-client/models/domains.rb +2 -1
- data/lib/clerk-http-client/models/email_address.rb +13 -2
- data/lib/clerk-http-client/models/email_address_verification.rb +6 -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 +325 -0
- data/{resources/templates/partial_oneof_module.mustache → lib/clerk-http-client/models/from_oauth_error.rb} +24 -54
- data/lib/clerk-http-client/models/{get_o_auth_access_token200_response_inner.rb → get_oauth_access_token200_response_inner.rb} +21 -7
- data/lib/clerk-http-client/models/identification_link.rb +4 -3
- data/lib/clerk-http-client/models/instance.rb +280 -0
- data/lib/clerk-http-client/models/instance_restrictions.rb +2 -1
- data/lib/clerk-http-client/models/invitation.rb +6 -3
- data/lib/clerk-http-client/models/jwks.rb +217 -0
- data/lib/clerk-http-client/models/jwks_keys_inner.rb +278 -0
- data/lib/clerk-http-client/models/jwt_template.rb +2 -1
- data/lib/clerk-http-client/models/list_waitlist_entries200_response.rb +241 -0
- data/lib/clerk-http-client/models/merge_organization_metadata_request.rb +10 -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 +482 -0
- data/lib/clerk-http-client/models/oauth_application_with_secret.rb +499 -0
- data/lib/clerk-http-client/models/oauth_applications.rb +241 -0
- data/lib/clerk-http-client/models/organization.rb +11 -5
- data/lib/clerk-http-client/models/organization_domain.rb +2 -1
- data/lib/clerk-http-client/models/organization_domain_verification.rb +2 -1
- data/lib/clerk-http-client/models/organization_domains.rb +2 -1
- data/lib/clerk-http-client/models/organization_invitation.rb +32 -6
- data/lib/clerk-http-client/models/organization_invitation_with_public_organization_data.rb +21 -6
- data/lib/clerk-http-client/models/organization_invitation_with_public_organization_data_public_organization_data.rb +2 -1
- data/lib/clerk-http-client/models/organization_invitations.rb +2 -1
- data/lib/clerk-http-client/models/organization_invitations_with_public_organization_data.rb +2 -1
- data/lib/clerk-http-client/models/organization_membership.rb +10 -5
- data/lib/clerk-http-client/models/organization_membership_public_user_data.rb +2 -1
- data/lib/clerk-http-client/models/organization_memberships.rb +2 -1
- data/lib/clerk-http-client/models/organization_settings.rb +2 -1
- data/lib/clerk-http-client/models/organization_with_logo.rb +11 -5
- data/lib/clerk-http-client/models/organizations.rb +2 -1
- data/lib/clerk-http-client/models/otp.rb +2 -1
- data/lib/clerk-http-client/models/passkey.rb +2 -1
- data/lib/clerk-http-client/models/phone_number.rb +2 -1
- data/lib/clerk-http-client/models/phone_number_verification.rb +4 -1
- data/lib/clerk-http-client/models/preview_template_request.rb +2 -1
- data/lib/clerk-http-client/models/proxy_check.rb +2 -1
- data/lib/clerk-http-client/models/redirect_url.rb +2 -1
- data/lib/clerk-http-client/models/revoke_invitation200_response.rb +6 -3
- data/lib/clerk-http-client/models/revoke_organization_invitation_request.rb +2 -1
- data/lib/clerk-http-client/models/saml.rb +3 -2
- data/lib/clerk-http-client/models/saml_account.rb +6 -3
- data/lib/clerk-http-client/models/saml_account_saml_connection.rb +4 -1
- data/lib/clerk-http-client/models/saml_account_verification.rb +4 -1
- data/lib/clerk-http-client/models/saml_connection.rb +2 -1
- data/lib/clerk-http-client/models/saml_connections.rb +2 -1
- data/lib/clerk-http-client/models/schemas_passkey.rb +2 -1
- data/lib/clerk-http-client/models/schemas_passkey_verification.rb +4 -1
- data/lib/clerk-http-client/models/schemas_saml_connection.rb +13 -2
- data/lib/clerk-http-client/models/schemas_saml_connection_attribute_mapping.rb +2 -1
- data/lib/clerk-http-client/models/session.rb +2 -1
- data/lib/clerk-http-client/models/session_latest_activity.rb +2 -1
- data/lib/clerk-http-client/models/sign_in_token.rb +2 -1
- data/lib/clerk-http-client/models/sign_up.rb +22 -6
- data/lib/clerk-http-client/models/svix_url.rb +2 -1
- data/lib/clerk-http-client/models/template.rb +2 -1
- data/lib/clerk-http-client/models/testing_token.rb +2 -1
- data/lib/clerk-http-client/models/ticket.rb +2 -1
- data/lib/clerk-http-client/models/toggle_template_delivery_request.rb +2 -1
- data/lib/clerk-http-client/models/total_count.rb +2 -1
- data/lib/clerk-http-client/models/totp.rb +2 -1
- data/lib/clerk-http-client/models/update_domain_request.rb +2 -1
- data/lib/clerk-http-client/models/update_email_address_request.rb +2 -1
- data/lib/clerk-http-client/models/update_instance_auth_config200_response.rb +2 -1
- data/lib/clerk-http-client/models/update_instance_auth_config_request.rb +2 -1
- data/lib/clerk-http-client/models/update_instance_organization_settings_request.rb +2 -1
- data/lib/clerk-http-client/models/update_instance_request.rb +2 -1
- data/lib/clerk-http-client/models/update_instance_restrictions_request.rb +2 -1
- data/lib/clerk-http-client/models/{update_o_auth_application_request.rb → update_oauth_application_request.rb} +2 -1
- data/lib/clerk-http-client/models/update_organization_domain_request.rb +2 -1
- data/lib/clerk-http-client/models/update_organization_membership_metadata_request.rb +10 -5
- data/lib/clerk-http-client/models/update_organization_membership_request.rb +2 -1
- data/lib/clerk-http-client/models/update_organization_request.rb +10 -5
- data/lib/clerk-http-client/models/update_phone_number_request.rb +2 -1
- data/lib/clerk-http-client/models/update_production_instance_domain_request.rb +2 -1
- data/lib/clerk-http-client/models/update_saml_connection_request.rb +14 -2
- data/lib/clerk-http-client/models/update_saml_connection_request_attribute_mapping.rb +2 -1
- data/lib/clerk-http-client/models/update_sign_up_request.rb +2 -1
- data/lib/clerk-http-client/models/update_user_metadata_request.rb +2 -1
- data/lib/clerk-http-client/models/update_user_request.rb +14 -7
- data/lib/clerk-http-client/models/upsert_template_request.rb +2 -1
- data/lib/clerk-http-client/models/user.rb +14 -7
- data/lib/clerk-http-client/models/verify_client_request.rb +2 -1
- data/lib/clerk-http-client/models/verify_domain_proxy_request.rb +2 -1
- data/lib/clerk-http-client/models/verify_password200_response.rb +2 -1
- data/lib/clerk-http-client/models/verify_password_request.rb +2 -1
- data/lib/clerk-http-client/models/verify_session_request.rb +2 -1
- data/lib/clerk-http-client/models/verify_totp200_response.rb +2 -1
- data/lib/clerk-http-client/models/verify_totp_request.rb +2 -1
- data/lib/clerk-http-client/models/waitlist_entry.rb +370 -0
- data/lib/clerk-http-client/models/waitlist_entry_invitation.rb +397 -0
- data/lib/clerk-http-client/models/web3_signature.rb +4 -3
- data/lib/clerk-http-client/models/web3_wallet.rb +2 -1
- data/lib/clerk-http-client/models/web3_wallet_verification.rb +4 -1
- data/lib/clerk-http-client/version.rb +1 -1
- data/lib/clerk-http-client.rb +56 -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
data/docs/JWKSApi.md
CHANGED
@@ -9,7 +9,7 @@ All URIs are relative to *https://api.clerk.com/v1*
|
|
9
9
|
|
10
10
|
## get_jwks
|
11
11
|
|
12
|
-
> <
|
12
|
+
> <JWKS> get_jwks
|
13
13
|
|
14
14
|
Retrieve the JSON Web Key Set of the instance
|
15
15
|
|
@@ -19,39 +19,38 @@ Retrieve the JSON Web Key Set of the instance
|
|
19
19
|
|
20
20
|
```ruby
|
21
21
|
require 'time'
|
22
|
-
require 'clerk
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
config.
|
22
|
+
require 'clerk'
|
23
|
+
|
24
|
+
## Setup
|
25
|
+
Clerk.configure do |config|
|
26
|
+
config.secret_key = 'sk_test_xxxxxxxxx'
|
27
27
|
end
|
28
28
|
|
29
|
-
api_instance = ClerkHttpClient::JWKSApi.new
|
30
29
|
|
31
30
|
begin
|
32
31
|
# Retrieve the JSON Web Key Set of the instance
|
33
|
-
result =
|
32
|
+
result = Clerk::SDK.jwks.get_jwks
|
34
33
|
p result
|
35
34
|
rescue ClerkHttpClient::ApiError => e
|
36
|
-
puts "Error when calling
|
35
|
+
puts "Error when calling Clerk::SDK.jwks->get_jwks: #{e}"
|
37
36
|
end
|
38
37
|
```
|
39
38
|
|
40
|
-
#### Using the get_jwks_with_http_info variant
|
39
|
+
#### Using the `get_jwks_with_http_info variant
|
41
40
|
|
42
41
|
This returns an Array which contains the response data, status code and headers.
|
43
42
|
|
44
|
-
> <Array(<
|
43
|
+
> <Array(<JWKS>, Integer, Hash)> get_jwks_with_http_info
|
45
44
|
|
46
45
|
```ruby
|
47
46
|
begin
|
48
47
|
# Retrieve the JSON Web Key Set of the instance
|
49
|
-
data, status_code, headers =
|
48
|
+
data, status_code, headers = Clerk::SDK.jwks.get_jwks_with_http_info
|
50
49
|
p status_code # => 2xx
|
51
50
|
p headers # => { ... }
|
52
|
-
p data # => <
|
51
|
+
p data # => <JWKS>
|
53
52
|
rescue ClerkHttpClient::ApiError => e
|
54
|
-
puts "Error when calling
|
53
|
+
puts "Error when calling Clerk::SDK.jwks->get_jwks_with_http_info: #{e}"
|
55
54
|
end
|
56
55
|
```
|
57
56
|
|
@@ -61,7 +60,7 @@ This endpoint does not need any parameter.
|
|
61
60
|
|
62
61
|
### Return type
|
63
62
|
|
64
|
-
[**
|
63
|
+
[**JWKS**](JWKS.md)
|
65
64
|
|
66
65
|
### Authorization
|
67
66
|
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# ClerkHttpClient::JWKSKeysInner
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **use** | **String** | | [optional] |
|
8
|
+
| **kty** | **String** | | [optional] |
|
9
|
+
| **kid** | **String** | | [optional] |
|
10
|
+
| **alg** | **String** | | [optional] |
|
11
|
+
| **n** | **String** | | [optional] |
|
12
|
+
| **e** | **String** | | [optional] |
|
13
|
+
| **x** | **String** | | [optional] |
|
14
|
+
| **crv** | **String** | | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'clerk-http-client'
|
20
|
+
|
21
|
+
instance = ClerkHttpClient::JWKSKeysInner.new(
|
22
|
+
use: null,
|
23
|
+
kty: null,
|
24
|
+
kid: null,
|
25
|
+
alg: null,
|
26
|
+
n: null,
|
27
|
+
e: null,
|
28
|
+
x: null,
|
29
|
+
crv: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
data/docs/JWTTemplatesApi.md
CHANGED
@@ -13,7 +13,7 @@ All URIs are relative to *https://api.clerk.com/v1*
|
|
13
13
|
|
14
14
|
## create_jwt_template
|
15
15
|
|
16
|
-
> <JWTTemplate> create_jwt_template(
|
16
|
+
> <JWTTemplate> create_jwt_template(opts)
|
17
17
|
|
18
18
|
Create a JWT template
|
19
19
|
|
@@ -23,40 +23,41 @@ Create a new JWT template
|
|
23
23
|
|
24
24
|
```ruby
|
25
25
|
require 'time'
|
26
|
-
require 'clerk
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
config.
|
26
|
+
require 'clerk'
|
27
|
+
|
28
|
+
## Setup
|
29
|
+
Clerk.configure do |config|
|
30
|
+
config.secret_key = 'sk_test_xxxxxxxxx'
|
31
31
|
end
|
32
32
|
|
33
|
-
|
34
|
-
create_jwt_template_request
|
33
|
+
opts = {
|
34
|
+
create_jwt_template_request: ClerkHttpClient::CreateJWTTemplateRequest.new # CreateJWTTemplateRequest |
|
35
|
+
}
|
35
36
|
|
36
37
|
begin
|
37
38
|
# Create a JWT template
|
38
|
-
result =
|
39
|
+
result = Clerk::SDK.jwt_templates.create_jwt_template(opts)
|
39
40
|
p result
|
40
41
|
rescue ClerkHttpClient::ApiError => e
|
41
|
-
puts "Error when calling
|
42
|
+
puts "Error when calling Clerk::SDK.jwt_templates->create_jwt_template: #{e}"
|
42
43
|
end
|
43
44
|
```
|
44
45
|
|
45
|
-
#### Using the create_jwt_template_with_http_info variant
|
46
|
+
#### Using the `create_jwt_template_with_http_info variant
|
46
47
|
|
47
48
|
This returns an Array which contains the response data, status code and headers.
|
48
49
|
|
49
|
-
> <Array(<JWTTemplate>, Integer, Hash)> create_jwt_template_with_http_info(
|
50
|
+
> <Array(<JWTTemplate>, Integer, Hash)> create_jwt_template_with_http_info(opts)
|
50
51
|
|
51
52
|
```ruby
|
52
53
|
begin
|
53
54
|
# Create a JWT template
|
54
|
-
data, status_code, headers =
|
55
|
+
data, status_code, headers = Clerk::SDK.jwt_templates.create_jwt_template_with_http_info(opts)
|
55
56
|
p status_code # => 2xx
|
56
57
|
p headers # => { ... }
|
57
58
|
p data # => <JWTTemplate>
|
58
59
|
rescue ClerkHttpClient::ApiError => e
|
59
|
-
puts "Error when calling
|
60
|
+
puts "Error when calling Clerk::SDK.jwt_templates->create_jwt_template_with_http_info: #{e}"
|
60
61
|
end
|
61
62
|
```
|
62
63
|
|
@@ -64,7 +65,7 @@ end
|
|
64
65
|
|
65
66
|
| Name | Type | Description | Notes |
|
66
67
|
| ---- | ---- | ----------- | ----- |
|
67
|
-
| **create_jwt_template_request** | [**CreateJWTTemplateRequest**](CreateJWTTemplateRequest.md) | |
|
68
|
+
| **create_jwt_template_request** | [**CreateJWTTemplateRequest**](CreateJWTTemplateRequest.md) | | [optional] |
|
68
69
|
|
69
70
|
### Return type
|
70
71
|
|
@@ -92,26 +93,25 @@ Delete a Template
|
|
92
93
|
|
93
94
|
```ruby
|
94
95
|
require 'time'
|
95
|
-
require 'clerk
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
config.
|
96
|
+
require 'clerk'
|
97
|
+
|
98
|
+
## Setup
|
99
|
+
Clerk.configure do |config|
|
100
|
+
config.secret_key = 'sk_test_xxxxxxxxx'
|
100
101
|
end
|
101
102
|
|
102
|
-
api_instance = ClerkHttpClient::JWTTemplatesApi.new
|
103
103
|
template_id = 'template_id_example' # String | JWT Template ID
|
104
104
|
|
105
105
|
begin
|
106
106
|
# Delete a Template
|
107
|
-
result =
|
107
|
+
result = Clerk::SDK.jwt_templates.delete_jwt_template(template_id)
|
108
108
|
p result
|
109
109
|
rescue ClerkHttpClient::ApiError => e
|
110
|
-
puts "Error when calling
|
110
|
+
puts "Error when calling Clerk::SDK.jwt_templates->delete_jwt_template: #{e}"
|
111
111
|
end
|
112
112
|
```
|
113
113
|
|
114
|
-
#### Using the delete_jwt_template_with_http_info variant
|
114
|
+
#### Using the `delete_jwt_template_with_http_info variant
|
115
115
|
|
116
116
|
This returns an Array which contains the response data, status code and headers.
|
117
117
|
|
@@ -120,12 +120,12 @@ This returns an Array which contains the response data, status code and headers.
|
|
120
120
|
```ruby
|
121
121
|
begin
|
122
122
|
# Delete a Template
|
123
|
-
data, status_code, headers =
|
123
|
+
data, status_code, headers = Clerk::SDK.jwt_templates.delete_jwt_template_with_http_info(template_id)
|
124
124
|
p status_code # => 2xx
|
125
125
|
p headers # => { ... }
|
126
126
|
p data # => <DeletedObject>
|
127
127
|
rescue ClerkHttpClient::ApiError => e
|
128
|
-
puts "Error when calling
|
128
|
+
puts "Error when calling Clerk::SDK.jwt_templates->delete_jwt_template_with_http_info: #{e}"
|
129
129
|
end
|
130
130
|
```
|
131
131
|
|
@@ -161,26 +161,25 @@ Retrieve the details of a given JWT template
|
|
161
161
|
|
162
162
|
```ruby
|
163
163
|
require 'time'
|
164
|
-
require 'clerk
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
config.
|
164
|
+
require 'clerk'
|
165
|
+
|
166
|
+
## Setup
|
167
|
+
Clerk.configure do |config|
|
168
|
+
config.secret_key = 'sk_test_xxxxxxxxx'
|
169
169
|
end
|
170
170
|
|
171
|
-
api_instance = ClerkHttpClient::JWTTemplatesApi.new
|
172
171
|
template_id = 'template_id_example' # String | JWT Template ID
|
173
172
|
|
174
173
|
begin
|
175
174
|
# Retrieve a template
|
176
|
-
result =
|
175
|
+
result = Clerk::SDK.jwt_templates.get_jwt_template(template_id)
|
177
176
|
p result
|
178
177
|
rescue ClerkHttpClient::ApiError => e
|
179
|
-
puts "Error when calling
|
178
|
+
puts "Error when calling Clerk::SDK.jwt_templates->get_jwt_template: #{e}"
|
180
179
|
end
|
181
180
|
```
|
182
181
|
|
183
|
-
#### Using the get_jwt_template_with_http_info variant
|
182
|
+
#### Using the `get_jwt_template_with_http_info variant
|
184
183
|
|
185
184
|
This returns an Array which contains the response data, status code and headers.
|
186
185
|
|
@@ -189,12 +188,12 @@ This returns an Array which contains the response data, status code and headers.
|
|
189
188
|
```ruby
|
190
189
|
begin
|
191
190
|
# Retrieve a template
|
192
|
-
data, status_code, headers =
|
191
|
+
data, status_code, headers = Clerk::SDK.jwt_templates.get_jwt_template_with_http_info(template_id)
|
193
192
|
p status_code # => 2xx
|
194
193
|
p headers # => { ... }
|
195
194
|
p data # => <JWTTemplate>
|
196
195
|
rescue ClerkHttpClient::ApiError => e
|
197
|
-
puts "Error when calling
|
196
|
+
puts "Error when calling Clerk::SDK.jwt_templates->get_jwt_template_with_http_info: #{e}"
|
198
197
|
end
|
199
198
|
```
|
200
199
|
|
@@ -228,25 +227,24 @@ List all templates
|
|
228
227
|
|
229
228
|
```ruby
|
230
229
|
require 'time'
|
231
|
-
require 'clerk
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
config.
|
230
|
+
require 'clerk'
|
231
|
+
|
232
|
+
## Setup
|
233
|
+
Clerk.configure do |config|
|
234
|
+
config.secret_key = 'sk_test_xxxxxxxxx'
|
236
235
|
end
|
237
236
|
|
238
|
-
api_instance = ClerkHttpClient::JWTTemplatesApi.new
|
239
237
|
|
240
238
|
begin
|
241
239
|
# List all templates
|
242
|
-
result =
|
240
|
+
result = Clerk::SDK.jwt_templates.list_jwt_templates
|
243
241
|
p result
|
244
242
|
rescue ClerkHttpClient::ApiError => e
|
245
|
-
puts "Error when calling
|
243
|
+
puts "Error when calling Clerk::SDK.jwt_templates->list_jwt_templates: #{e}"
|
246
244
|
end
|
247
245
|
```
|
248
246
|
|
249
|
-
#### Using the list_jwt_templates_with_http_info variant
|
247
|
+
#### Using the `list_jwt_templates_with_http_info variant
|
250
248
|
|
251
249
|
This returns an Array which contains the response data, status code and headers.
|
252
250
|
|
@@ -255,12 +253,12 @@ This returns an Array which contains the response data, status code and headers.
|
|
255
253
|
```ruby
|
256
254
|
begin
|
257
255
|
# List all templates
|
258
|
-
data, status_code, headers =
|
256
|
+
data, status_code, headers = Clerk::SDK.jwt_templates.list_jwt_templates_with_http_info
|
259
257
|
p status_code # => 2xx
|
260
258
|
p headers # => { ... }
|
261
259
|
p data # => <Array<JWTTemplate>>
|
262
260
|
rescue ClerkHttpClient::ApiError => e
|
263
|
-
puts "Error when calling
|
261
|
+
puts "Error when calling Clerk::SDK.jwt_templates->list_jwt_templates_with_http_info: #{e}"
|
264
262
|
end
|
265
263
|
```
|
266
264
|
|
@@ -284,7 +282,7 @@ This endpoint does not need any parameter.
|
|
284
282
|
|
285
283
|
## update_jwt_template
|
286
284
|
|
287
|
-
> <JWTTemplate> update_jwt_template(template_id,
|
285
|
+
> <JWTTemplate> update_jwt_template(template_id, opts)
|
288
286
|
|
289
287
|
Update a JWT template
|
290
288
|
|
@@ -294,41 +292,42 @@ Updates an existing JWT template
|
|
294
292
|
|
295
293
|
```ruby
|
296
294
|
require 'time'
|
297
|
-
require 'clerk
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
config.
|
295
|
+
require 'clerk'
|
296
|
+
|
297
|
+
## Setup
|
298
|
+
Clerk.configure do |config|
|
299
|
+
config.secret_key = 'sk_test_xxxxxxxxx'
|
302
300
|
end
|
303
301
|
|
304
|
-
api_instance = ClerkHttpClient::JWTTemplatesApi.new
|
305
302
|
template_id = 'template_id_example' # String | The ID of the JWT template to update
|
306
|
-
|
303
|
+
opts = {
|
304
|
+
create_jwt_template_request: ClerkHttpClient::CreateJWTTemplateRequest.new # CreateJWTTemplateRequest |
|
305
|
+
}
|
307
306
|
|
308
307
|
begin
|
309
308
|
# Update a JWT template
|
310
|
-
result =
|
309
|
+
result = Clerk::SDK.jwt_templates.update_jwt_template(template_id, opts)
|
311
310
|
p result
|
312
311
|
rescue ClerkHttpClient::ApiError => e
|
313
|
-
puts "Error when calling
|
312
|
+
puts "Error when calling Clerk::SDK.jwt_templates->update_jwt_template: #{e}"
|
314
313
|
end
|
315
314
|
```
|
316
315
|
|
317
|
-
#### Using the update_jwt_template_with_http_info variant
|
316
|
+
#### Using the `update_jwt_template_with_http_info variant
|
318
317
|
|
319
318
|
This returns an Array which contains the response data, status code and headers.
|
320
319
|
|
321
|
-
> <Array(<JWTTemplate>, Integer, Hash)> update_jwt_template_with_http_info(template_id,
|
320
|
+
> <Array(<JWTTemplate>, Integer, Hash)> update_jwt_template_with_http_info(template_id, opts)
|
322
321
|
|
323
322
|
```ruby
|
324
323
|
begin
|
325
324
|
# Update a JWT template
|
326
|
-
data, status_code, headers =
|
325
|
+
data, status_code, headers = Clerk::SDK.jwt_templates.update_jwt_template_with_http_info(template_id, opts)
|
327
326
|
p status_code # => 2xx
|
328
327
|
p headers # => { ... }
|
329
328
|
p data # => <JWTTemplate>
|
330
329
|
rescue ClerkHttpClient::ApiError => e
|
331
|
-
puts "Error when calling
|
330
|
+
puts "Error when calling Clerk::SDK.jwt_templates->update_jwt_template_with_http_info: #{e}"
|
332
331
|
end
|
333
332
|
```
|
334
333
|
|
@@ -337,7 +336,7 @@ end
|
|
337
336
|
| Name | Type | Description | Notes |
|
338
337
|
| ---- | ---- | ----------- | ----- |
|
339
338
|
| **template_id** | **String** | The ID of the JWT template to update | |
|
340
|
-
| **create_jwt_template_request** | [**CreateJWTTemplateRequest**](CreateJWTTemplateRequest.md) | |
|
339
|
+
| **create_jwt_template_request** | [**CreateJWTTemplateRequest**](CreateJWTTemplateRequest.md) | | [optional] |
|
341
340
|
|
342
341
|
### Return type
|
343
342
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# ClerkHttpClient::ListWaitlistEntries200Response
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **data** | [**Array<WaitlistEntry>**](WaitlistEntry.md) | | |
|
8
|
+
| **total_count** | **Integer** | Total number of waitlist entries | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'clerk-http-client'
|
14
|
+
|
15
|
+
instance = ClerkHttpClient::ListWaitlistEntries200Response.new(
|
16
|
+
data: null,
|
17
|
+
total_count: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **public_metadata** | **Object
|
8
|
-
| **private_metadata** | **Object
|
7
|
+
| **public_metadata** | **Hash<String, Object>** | Metadata saved on the organization, that is visible to both your frontend and backend. The new object will be merged with the existing value. | [optional] |
|
8
|
+
| **private_metadata** | **Hash<String, Object>** | Metadata saved on the organization that is only visible to your backend. The new object will be merged with the existing value. | [optional] |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
data/docs/MiscellaneousApi.md
CHANGED
@@ -19,9 +19,13 @@ The Clerk interstitial endpoint serves an html page that loads clerk.js in order
|
|
19
19
|
|
20
20
|
```ruby
|
21
21
|
require 'time'
|
22
|
-
require 'clerk
|
22
|
+
require 'clerk'
|
23
|
+
|
24
|
+
## Setup
|
25
|
+
Clerk.configure do |config|
|
26
|
+
config.secret_key = 'sk_test_xxxxxxxxx'
|
27
|
+
end
|
23
28
|
|
24
|
-
api_instance = ClerkHttpClient::MiscellaneousApi.new
|
25
29
|
opts = {
|
26
30
|
frontend_api: 'frontend_api_example', # String | The Frontend API key of your instance
|
27
31
|
publishable_key: 'publishable_key_example' # String | The publishable key of your instance
|
@@ -29,13 +33,13 @@ opts = {
|
|
29
33
|
|
30
34
|
begin
|
31
35
|
# Returns the markup for the interstitial page
|
32
|
-
|
36
|
+
Clerk::SDK.miscellaneous.get_public_interstitial(opts)
|
33
37
|
rescue ClerkHttpClient::ApiError => e
|
34
|
-
puts "Error when calling
|
38
|
+
puts "Error when calling Clerk::SDK.miscellaneous->get_public_interstitial: #{e}"
|
35
39
|
end
|
36
40
|
```
|
37
41
|
|
38
|
-
#### Using the get_public_interstitial_with_http_info variant
|
42
|
+
#### Using the `get_public_interstitial_with_http_info variant
|
39
43
|
|
40
44
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
41
45
|
|
@@ -44,12 +48,12 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
44
48
|
```ruby
|
45
49
|
begin
|
46
50
|
# Returns the markup for the interstitial page
|
47
|
-
data, status_code, headers =
|
51
|
+
data, status_code, headers = Clerk::SDK.miscellaneous.get_public_interstitial_with_http_info(opts)
|
48
52
|
p status_code # => 2xx
|
49
53
|
p headers # => { ... }
|
50
54
|
p data # => nil
|
51
55
|
rescue ClerkHttpClient::ApiError => e
|
52
|
-
puts "Error when calling
|
56
|
+
puts "Error when calling Clerk::SDK.miscellaneous->get_public_interstitial_with_http_info: #{e}"
|
53
57
|
end
|
54
58
|
```
|
55
59
|
|
@@ -15,6 +15,8 @@
|
|
15
15
|
| **authorize_url** | **String** | | |
|
16
16
|
| **token_fetch_url** | **String** | | |
|
17
17
|
| **user_info_url** | **String** | | |
|
18
|
+
| **discovery_url** | **String** | | |
|
19
|
+
| **token_introspection_url** | **String** | | |
|
18
20
|
| **created_at** | **Integer** | Unix timestamp of creation. | |
|
19
21
|
| **updated_at** | **Integer** | Unix timestamp of last update. | |
|
20
22
|
|
@@ -35,6 +37,8 @@ instance = ClerkHttpClient::OAuthApplication.new(
|
|
35
37
|
authorize_url: null,
|
36
38
|
token_fetch_url: null,
|
37
39
|
user_info_url: null,
|
40
|
+
discovery_url: null,
|
41
|
+
token_introspection_url: null,
|
38
42
|
created_at: null,
|
39
43
|
updated_at: null
|
40
44
|
)
|
@@ -15,6 +15,8 @@
|
|
15
15
|
| **authorize_url** | **String** | | |
|
16
16
|
| **token_fetch_url** | **String** | | |
|
17
17
|
| **user_info_url** | **String** | | |
|
18
|
+
| **discovery_url** | **String** | | |
|
19
|
+
| **token_introspection_url** | **String** | | |
|
18
20
|
| **created_at** | **Integer** | Unix timestamp of creation. | |
|
19
21
|
| **updated_at** | **Integer** | Unix timestamp of last update. | |
|
20
22
|
| **client_secret** | **String** | Empty if public client. | [optional] |
|
@@ -36,6 +38,8 @@ instance = ClerkHttpClient::OAuthApplicationWithSecret.new(
|
|
36
38
|
authorize_url: null,
|
37
39
|
token_fetch_url: null,
|
38
40
|
user_info_url: null,
|
41
|
+
discovery_url: null,
|
42
|
+
token_introspection_url: null,
|
39
43
|
created_at: null,
|
40
44
|
updated_at: null,
|
41
45
|
client_secret: null
|