#api-key #api-client #api-calls

fusionauth-rust-client

This is a FusionAuth server. Find out more at https://fusionauth.io. You need to set up an API key in the FusionAuth instance you are using to test out the API calls.

13 stable releases

2.5.0 Nov 28, 2024
2.4.3 Oct 28, 2024
2.2.1 Jun 15, 2024
2.0.2 Mar 25, 2024
1.49.0 Jan 3, 2024

#222 in Web programming

Download history 151/week @ 2024-08-12 15/week @ 2024-08-19 28/week @ 2024-09-09 264/week @ 2024-09-16 40/week @ 2024-09-23 8/week @ 2024-09-30 31/week @ 2024-10-14 145/week @ 2024-10-28 36/week @ 2024-11-04 44/week @ 2024-11-11 65/week @ 2024-11-18 346/week @ 2024-11-25

499 downloads per month

Apache-2.0

2MB
28K SLoC

Rust API client for openapi

This is a FusionAuth server. Find out more at https://fusionauth.io. You need to set up an API key in the FusionAuth instance you are using to test out the API calls.

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.54.0
  • Package version: 2.5.0
  • Generator version: 7.11.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Documentation for API Endpoints

All URIs are relative to http://localhost:9011

Class Method HTTP request Description
DefaultApi action_user_with_id POST /api/user/action
DefaultApi activate_reactor_with_id POST /api/reactor
DefaultApi add_user_to_family_with_id PUT /api/user/family/{familyId}
DefaultApi approve_device_with_id POST /oauth2/device/approve
DefaultApi cancel_action_with_id DELETE /api/user/action/{actionId}
DefaultApi change_password_by_identity_with_id POST /api/user/change-password
DefaultApi change_password_with_id POST /api/user/change-password/{changePasswordId}
DefaultApi check_change_password_using_id_with_id GET /api/user/change-password/{changePasswordId}
DefaultApi comment_on_user_with_id POST /api/user/comment
DefaultApi complete_web_authn_assertion_with_id POST /api/webauthn/assert
DefaultApi complete_web_authn_login_with_id POST /api/webauthn/login
DefaultApi complete_web_authn_registration_with_id POST /api/webauthn/register/complete
DefaultApi create_api_key POST /api/api-key
DefaultApi create_api_key_with_id POST /api/api-key/{keyId}
DefaultApi create_application POST /api/application
DefaultApi create_application_role POST /api/application/{applicationId}/role
DefaultApi create_application_role_with_id POST /api/application/{applicationId}/role/{roleId}
DefaultApi create_application_with_id POST /api/application/{applicationId}
DefaultApi create_audit_log_with_id POST /api/system/audit-log
DefaultApi create_connector POST /api/connector
DefaultApi create_connector_with_id POST /api/connector/{connectorId}
DefaultApi create_consent POST /api/consent
DefaultApi create_consent_with_id POST /api/consent/{consentId}
DefaultApi create_email_template POST /api/email/template
DefaultApi create_email_template_with_id POST /api/email/template/{emailTemplateId}
DefaultApi create_entity POST /api/entity
DefaultApi create_entity_type POST /api/entity/type
DefaultApi create_entity_type_permission POST /api/entity/type/{entityTypeId}/permission
DefaultApi create_entity_type_permission_with_id POST /api/entity/type/{entityTypeId}/permission/{permissionId}
DefaultApi create_entity_type_with_id POST /api/entity/type/{entityTypeId}
DefaultApi create_entity_with_id POST /api/entity/{entityId}
DefaultApi create_family POST /api/user/family
DefaultApi create_family_with_id POST /api/user/family/{familyId}
DefaultApi create_form POST /api/form
DefaultApi create_form_field POST /api/form/field
DefaultApi create_form_field_with_id POST /api/form/field/{fieldId}
DefaultApi create_form_with_id POST /api/form/{formId}
DefaultApi create_group POST /api/group
DefaultApi create_group_members_with_id POST /api/group/member
DefaultApi create_group_with_id POST /api/group/{groupId}
DefaultApi create_identity_provider POST /api/identity-provider
DefaultApi create_identity_provider_with_id POST /api/identity-provider/{identityProviderId}
DefaultApi create_introspect POST /oauth2/introspect
DefaultApi create_ip_access_control_list POST /api/ip-acl
DefaultApi create_ip_access_control_list_with_id POST /api/ip-acl/{accessControlListId}
DefaultApi create_lambda POST /api/lambda
DefaultApi create_lambda_with_id POST /api/lambda/{lambdaId}
DefaultApi create_logout POST /api/logout
DefaultApi create_message_template POST /api/message/template
DefaultApi create_message_template_with_id POST /api/message/template/{messageTemplateId}
DefaultApi create_messenger POST /api/messenger
DefaultApi create_messenger_with_id POST /api/messenger/{messengerId}
DefaultApi create_o_auth_scope POST /api/application/{applicationId}/scope
DefaultApi create_o_auth_scope_with_id POST /api/application/{applicationId}/scope/{scopeId}
DefaultApi create_tenant POST /api/tenant
DefaultApi create_tenant_with_id POST /api/tenant/{tenantId}
DefaultApi create_theme POST /api/theme
DefaultApi create_theme_with_id POST /api/theme/{themeId}
DefaultApi create_token POST /oauth2/token
DefaultApi create_user POST /api/user
DefaultApi create_user_action POST /api/user-action
DefaultApi create_user_action_reason POST /api/user-action-reason
DefaultApi create_user_action_reason_with_id POST /api/user-action-reason/{userActionReasonId}
DefaultApi create_user_action_with_id POST /api/user-action/{userActionId}
DefaultApi create_user_consent POST /api/user/consent
DefaultApi create_user_consent_with_id POST /api/user/consent/{userConsentId}
DefaultApi create_user_link_with_id POST /api/identity-provider/link
DefaultApi create_user_verify_email POST /api/user/verify-email
DefaultApi create_user_with_id POST /api/user/{userId}
DefaultApi create_webhook POST /api/webhook
DefaultApi create_webhook_with_id POST /api/webhook/{webhookId}
DefaultApi delete_api_key_with_id DELETE /api/api-key/{keyId}
DefaultApi delete_application_role_with_id DELETE /api/application/{applicationId}/role/{roleId}
DefaultApi delete_application_with_id DELETE /api/application/{applicationId}
DefaultApi delete_connector_with_id DELETE /api/connector/{connectorId}
DefaultApi delete_consent_with_id DELETE /api/consent/{consentId}
DefaultApi delete_email_template_with_id DELETE /api/email/template/{emailTemplateId}
DefaultApi delete_entity_grant_with_id DELETE /api/entity/{entityId}/grant
DefaultApi delete_entity_type_permission_with_id DELETE /api/entity/type/{entityTypeId}/permission/{permissionId}
DefaultApi delete_entity_type_with_id DELETE /api/entity/type/{entityTypeId}
DefaultApi delete_entity_with_id DELETE /api/entity/{entityId}
DefaultApi delete_form_field_with_id DELETE /api/form/field/{fieldId}
DefaultApi delete_form_with_id DELETE /api/form/{formId}
DefaultApi delete_group_members_with_id DELETE /api/group/member
DefaultApi delete_group_with_id DELETE /api/group/{groupId}
DefaultApi delete_identity_provider_with_id DELETE /api/identity-provider/{identityProviderId}
DefaultApi delete_ip_access_control_list_with_id DELETE /api/ip-acl/{ipAccessControlListId}
DefaultApi delete_jwt_refresh DELETE /api/jwt/refresh
DefaultApi delete_key_with_id DELETE /api/key/{keyId}
DefaultApi delete_lambda_with_id DELETE /api/lambda/{lambdaId}
DefaultApi delete_message_template_with_id DELETE /api/message/template/{messageTemplateId}
DefaultApi delete_messenger_with_id DELETE /api/messenger/{messengerId}
DefaultApi delete_o_auth_scope_with_id DELETE /api/application/{applicationId}/scope/{scopeId}
DefaultApi delete_tenant_with_id DELETE /api/tenant/{tenantId}
DefaultApi delete_theme_with_id DELETE /api/theme/{themeId}
DefaultApi delete_user_action_reason_with_id DELETE /api/user-action-reason/{userActionReasonId}
DefaultApi delete_user_action_with_id DELETE /api/user-action/{userActionId}
DefaultApi delete_user_bulk DELETE /api/user/bulk
DefaultApi delete_user_link_with_id DELETE /api/identity-provider/link
DefaultApi delete_user_registration_with_id DELETE /api/user/registration/{userId}/{applicationId}
DefaultApi delete_user_two_factor_with_id DELETE /api/user/two-factor/{userId}
DefaultApi delete_user_with_id DELETE /api/user/{userId}
DefaultApi delete_web_authn_credential_with_id DELETE /api/webauthn/{id}
DefaultApi delete_webhook_with_id DELETE /api/webhook/{webhookId}
DefaultApi enable_two_factor_with_id POST /api/user/two-factor/{userId}
DefaultApi exchange_refresh_token_for_jwt_with_id POST /api/jwt/refresh
DefaultApi forgot_password_with_id POST /api/user/forgot-password
DefaultApi generate_key POST /api/key/generate
DefaultApi generate_key_with_id POST /api/key/generate/{keyId}
DefaultApi generate_two_factor_recovery_codes_with_id POST /api/user/two-factor/recovery-code/{userId}
DefaultApi generate_two_factor_secret_using_jwt_with_id GET /api/two-factor/secret
DefaultApi identity_provider_login_with_id POST /api/identity-provider/login
DefaultApi import_key POST /api/key/import
DefaultApi import_key_with_id POST /api/key/import/{keyId}
DefaultApi import_refresh_tokens_with_id POST /api/user/refresh-token/import
DefaultApi import_users_with_id POST /api/user/import
DefaultApi import_web_authn_credential_with_id POST /api/webauthn/import
DefaultApi issue_jwt_with_id GET /api/jwt/issue
DefaultApi login_ping_with_id PUT /api/login/{userId}/{applicationId}
DefaultApi login_ping_with_request_with_id PUT /api/login
DefaultApi login_with_id POST /api/login
DefaultApi lookup_identity_provider_with_id GET /api/identity-provider/lookup
DefaultApi modify_action_with_id PUT /api/user/action/{actionId}
DefaultApi passwordless_login_with_id POST /api/passwordless/login
DefaultApi patch_application_role_with_id PATCH /api/application/{applicationId}/role/{roleId}
DefaultApi patch_application_with_id PATCH /api/application/{applicationId}
DefaultApi patch_connector_with_id PATCH /api/connector/{connectorId}
DefaultApi patch_consent_with_id PATCH /api/consent/{consentId}
DefaultApi patch_email_template_with_id PATCH /api/email/template/{emailTemplateId}
DefaultApi patch_entity_type_with_id PATCH /api/entity/type/{entityTypeId}
DefaultApi patch_group_with_id PATCH /api/group/{groupId}
DefaultApi patch_identity_provider_with_id PATCH /api/identity-provider/{identityProviderId}
DefaultApi patch_integrations_with_id PATCH /api/integration
DefaultApi patch_lambda_with_id PATCH /api/lambda/{lambdaId}
DefaultApi patch_message_template_with_id PATCH /api/message/template/{messageTemplateId}
DefaultApi patch_messenger_with_id PATCH /api/messenger/{messengerId}
DefaultApi patch_o_auth_scope_with_id PATCH /api/application/{applicationId}/scope/{scopeId}
DefaultApi patch_registration_with_id PATCH /api/user/registration/{userId}
DefaultApi patch_system_configuration_with_id PATCH /api/system-configuration
DefaultApi patch_tenant_with_id PATCH /api/tenant/{tenantId}
DefaultApi patch_theme_with_id PATCH /api/theme/{themeId}
DefaultApi patch_user_action_reason_with_id PATCH /api/user-action-reason/{userActionReasonId}
DefaultApi patch_user_action_with_id PATCH /api/user-action/{userActionId}
DefaultApi patch_user_consent_with_id PATCH /api/user/consent/{userConsentId}
DefaultApi patch_user_with_id PATCH /api/user/{userId}
DefaultApi reconcile_jwt_with_id POST /api/jwt/reconcile
DefaultApi register POST /api/user/registration
DefaultApi register_with_id POST /api/user/registration/{userId}
DefaultApi reindex_with_id POST /api/system/reindex
DefaultApi remove_user_from_family_with_id DELETE /api/user/family/{familyId}/{userId}
DefaultApi retrieve_action_with_id GET /api/user/action/{actionId}
DefaultApi retrieve_api_key_with_id GET /api/api-key/{keyId}
DefaultApi retrieve_application GET /api/application
DefaultApi retrieve_application_with_id GET /api/application/{applicationId}
DefaultApi retrieve_audit_log_with_id GET /api/system/audit-log/{auditLogId}
DefaultApi retrieve_connector_with_id GET /api/connector/{connectorId}
DefaultApi retrieve_consent_with_id GET /api/consent/{consentId}
DefaultApi retrieve_daily_active_report_with_id GET /api/report/daily-active-user
DefaultApi retrieve_device_user_code GET /oauth2/device/user-code
DefaultApi retrieve_email_template GET /api/email/template
DefaultApi retrieve_email_template_preview_with_id POST /api/email/template/preview
DefaultApi retrieve_email_template_with_id GET /api/email/template/{emailTemplateId}
DefaultApi retrieve_entity_grant_with_id GET /api/entity/{entityId}/grant
DefaultApi retrieve_entity_type_with_id GET /api/entity/type/{entityTypeId}
DefaultApi retrieve_entity_with_id GET /api/entity/{entityId}
DefaultApi retrieve_event_log_with_id GET /api/system/event-log/{eventLogId}
DefaultApi retrieve_families_with_id GET /api/user/family
DefaultApi retrieve_family_members_by_family_id_with_id GET /api/user/family/{familyId}
DefaultApi retrieve_form_field_with_id GET /api/form/field/{fieldId}
DefaultApi retrieve_form_with_id GET /api/form/{formId}
DefaultApi retrieve_group_with_id GET /api/group/{groupId}
DefaultApi retrieve_identity_provider_by_type_with_id GET /api/identity-provider
DefaultApi retrieve_identity_provider_link GET /api/identity-provider/link
DefaultApi retrieve_identity_provider_with_id GET /api/identity-provider/{identityProviderId}
DefaultApi retrieve_ip_access_control_list_with_id GET /api/ip-acl/{ipAccessControlListId}
DefaultApi retrieve_json_web_key_set_with_id GET /.well-known/jwks.json
DefaultApi retrieve_jwt_public_key GET /api/jwt/public-key
DefaultApi retrieve_key_with_id GET /api/key/{keyId}
DefaultApi retrieve_keys_with_id GET /api/key
DefaultApi retrieve_lambda_with_id GET /api/lambda/{lambdaId}
DefaultApi retrieve_lambdas_by_type_with_id GET /api/lambda
DefaultApi retrieve_message_template GET /api/message/template
DefaultApi retrieve_message_template_preview_with_id POST /api/message/template/preview
DefaultApi retrieve_message_template_with_id GET /api/message/template/{messageTemplateId}
DefaultApi retrieve_messenger_with_id GET /api/messenger/{messengerId}
DefaultApi retrieve_monthly_active_report_with_id GET /api/report/monthly-active-user
DefaultApi retrieve_o_auth_scope_with_id GET /api/application/{applicationId}/scope/{scopeId}
DefaultApi retrieve_oauth_configuration_with_id GET /api/application/{applicationId}/oauth-configuration
DefaultApi retrieve_open_id_configuration_with_id GET /.well-known/openid-configuration
DefaultApi retrieve_password_validation_rules_with_id GET /api/tenant/password-validation-rules
DefaultApi retrieve_password_validation_rules_with_tenant_id_with_id GET /api/tenant/password-validation-rules/{tenantId}
DefaultApi retrieve_pending_children_with_id GET /api/user/family/pending
DefaultApi retrieve_pending_link_with_id GET /api/identity-provider/link/pending/{pendingLinkId}
DefaultApi retrieve_reactor_metrics_with_id GET /api/reactor/metrics
DefaultApi retrieve_refresh_token_by_id_with_id GET /api/jwt/refresh/{tokenId}
DefaultApi retrieve_refresh_tokens_with_id GET /api/jwt/refresh
DefaultApi retrieve_registration_report_with_id GET /api/report/registration
DefaultApi retrieve_registration_with_id GET /api/user/registration/{userId}/{applicationId}
DefaultApi retrieve_report_login GET /api/report/login
DefaultApi retrieve_status GET /api/status
DefaultApi retrieve_system_health_with_id GET /api/health
DefaultApi retrieve_tenant_with_id GET /api/tenant/{tenantId}
DefaultApi retrieve_theme_with_id GET /api/theme/{themeId}
DefaultApi retrieve_total_report_with_id GET /api/report/totals
DefaultApi retrieve_two_factor_recovery_codes_with_id GET /api/user/two-factor/recovery-code/{userId}
DefaultApi retrieve_two_factor_status_with_id GET /api/two-factor/status/{twoFactorTrustId}
DefaultApi retrieve_user GET /api/user
DefaultApi retrieve_user_action GET /api/user-action
DefaultApi retrieve_user_action_reason GET /api/user-action-reason
DefaultApi retrieve_user_action_reason_with_id GET /api/user-action-reason/{userActionReasonId}
DefaultApi retrieve_user_action_with_id GET /api/user-action/{userActionId}
DefaultApi retrieve_user_actioning GET /api/user/action
DefaultApi retrieve_user_change_password GET /api/user/change-password
DefaultApi retrieve_user_comments_with_id GET /api/user/comment/{userId}
DefaultApi retrieve_user_consent_with_id GET /api/user/consent/{userConsentId}
DefaultApi retrieve_user_consents_with_id GET /api/user/consent
DefaultApi retrieve_user_info_from_access_token_with_id GET /oauth2/userinfo
DefaultApi retrieve_user_recent_login GET /api/user/recent-login
DefaultApi retrieve_user_with_id GET /api/user/{userId}
DefaultApi retrieve_version_with_id GET /api/system/version
DefaultApi retrieve_web_authn_credential_with_id GET /api/webauthn/{id}
DefaultApi retrieve_web_authn_credentials_for_user_with_id GET /api/webauthn
DefaultApi retrieve_webhook GET /api/webhook
DefaultApi retrieve_webhook_attempt_log_with_id GET /api/system/webhook-attempt-log/{webhookAttemptLogId}
DefaultApi retrieve_webhook_event_log_with_id GET /api/system/webhook-event-log/{webhookEventLogId}
DefaultApi retrieve_webhook_with_id GET /api/webhook/{webhookId}
DefaultApi revoke_refresh_token_by_id_with_id DELETE /api/jwt/refresh/{tokenId}
DefaultApi revoke_user_consent_with_id DELETE /api/user/consent/{userConsentId}
DefaultApi search_applications_with_id POST /api/application/search
DefaultApi search_audit_logs_with_id POST /api/system/audit-log/search
DefaultApi search_consents_with_id POST /api/consent/search
DefaultApi search_email_templates_with_id POST /api/email/template/search
DefaultApi search_entities_by_ids_with_id GET /api/entity/search
DefaultApi search_entities_with_id POST /api/entity/search
DefaultApi search_entity_grants_with_id POST /api/entity/grant/search
DefaultApi search_entity_types_with_id POST /api/entity/type/search
DefaultApi search_event_logs_with_id POST /api/system/event-log/search
DefaultApi search_group_members_with_id POST /api/group/member/search
DefaultApi search_groups_with_id POST /api/group/search
DefaultApi search_identity_providers_with_id POST /api/identity-provider/search
DefaultApi search_ip_access_control_lists_with_id POST /api/ip-acl/search
DefaultApi search_keys_with_id POST /api/key/search
DefaultApi search_lambdas_with_id POST /api/lambda/search
DefaultApi search_login_records_with_id POST /api/system/login-record/search
DefaultApi search_tenants_with_id POST /api/tenant/search
DefaultApi search_themes_with_id POST /api/theme/search
DefaultApi search_user_comments_with_id POST /api/user/comment/search
DefaultApi search_users_by_ids_with_id GET /api/user/search
DefaultApi search_users_by_query_with_id POST /api/user/search
DefaultApi search_webhook_event_logs_with_id POST /api/system/webhook-event-log/search
DefaultApi search_webhooks_with_id POST /api/webhook/search
DefaultApi send_email_with_id POST /api/email/send/{emailTemplateId}
DefaultApi send_family_request_email_with_id POST /api/user/family/request
DefaultApi send_passwordless_code_with_id POST /api/passwordless/send
DefaultApi send_two_factor_code_for_enable_disable_with_id POST /api/two-factor/send
DefaultApi send_two_factor_code_for_login_using_method_with_id POST /api/two-factor/send/{twoFactorId}
DefaultApi start_identity_provider_login_with_id POST /api/identity-provider/start
DefaultApi start_passwordless_login_with_id POST /api/passwordless/start
DefaultApi start_two_factor_login_with_id POST /api/two-factor/start
DefaultApi start_web_authn_login_with_id POST /api/webauthn/start
DefaultApi start_web_authn_registration_with_id POST /api/webauthn/register/start
DefaultApi two_factor_login_with_id POST /api/two-factor/login
DefaultApi update_api_key_with_id PUT /api/api-key/{apiKeyId}
DefaultApi update_application_role_with_id PUT /api/application/{applicationId}/role/{roleId}
DefaultApi update_application_with_id PUT /api/application/{applicationId}
DefaultApi update_connector_with_id PUT /api/connector/{connectorId}
DefaultApi update_consent_with_id PUT /api/consent/{consentId}
DefaultApi update_email_template_with_id PUT /api/email/template/{emailTemplateId}
DefaultApi update_entity_type_permission_with_id PUT /api/entity/type/{entityTypeId}/permission/{permissionId}
DefaultApi update_entity_type_with_id PUT /api/entity/type/{entityTypeId}
DefaultApi update_entity_with_id PUT /api/entity/{entityId}
DefaultApi update_form_field_with_id PUT /api/form/field/{fieldId}
DefaultApi update_form_with_id PUT /api/form/{formId}
DefaultApi update_group_members_with_id PUT /api/group/member
DefaultApi update_group_with_id PUT /api/group/{groupId}
DefaultApi update_identity_provider_with_id PUT /api/identity-provider/{identityProviderId}
DefaultApi update_integrations_with_id PUT /api/integration
DefaultApi update_ip_access_control_list_with_id PUT /api/ip-acl/{accessControlListId}
DefaultApi update_key_with_id PUT /api/key/{keyId}
DefaultApi update_lambda_with_id PUT /api/lambda/{lambdaId}
DefaultApi update_message_template_with_id PUT /api/message/template/{messageTemplateId}
DefaultApi update_messenger_with_id PUT /api/messenger/{messengerId}
DefaultApi update_o_auth_scope_with_id PUT /api/application/{applicationId}/scope/{scopeId}
DefaultApi update_registration_with_id PUT /api/user/registration/{userId}
DefaultApi update_system_configuration_with_id PUT /api/system-configuration
DefaultApi update_tenant_with_id PUT /api/tenant/{tenantId}
DefaultApi update_theme_with_id PUT /api/theme/{themeId}
DefaultApi update_user_action_reason_with_id PUT /api/user-action-reason/{userActionReasonId}
DefaultApi update_user_action_with_id PUT /api/user-action/{userActionId}
DefaultApi update_user_consent_with_id PUT /api/user/consent/{userConsentId}
DefaultApi update_user_verify_email PUT /api/user/verify-email
DefaultApi update_user_verify_registration PUT /api/user/verify-registration
DefaultApi update_user_with_id PUT /api/user/{userId}
DefaultApi update_webhook_with_id PUT /api/webhook/{webhookId}
DefaultApi upsert_entity_grant_with_id POST /api/entity/{entityId}/grant
DefaultApi validate_device_with_id GET /oauth2/device/validate
DefaultApi validate_jwt_with_id GET /api/jwt/validate
DefaultApi vend_jwt_with_id POST /api/jwt/vend
DefaultApi verify_user_registration_with_id POST /api/user/verify-registration

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

Dependencies

~5–15MB
~202K SLoC