casdoor-sdk

Crates.iocasdoor-sdk
lib.rscasdoor-sdk
version2.0.4
sourcesrc
created_at2024-04-18 07:27:38.67533
updated_at2024-04-19 08:45:47.210117
descriptionCasdoor SDK
homepage
repositoryhttps://gitlab.com/shanur.cse.nitap/casdoor-sdk
max_upload_size
id1212217
size993,726
shanurrahman (codebanesr)

documentation

https://docs.rs/openapi

README

Rust SDK for openapi

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.503.0
  • Package version: 1.503.0
  • Generator version: 7.5.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named openapi and add the following to Cargo.toml under [dependencies]:

openapi = { path = "./openapi" }

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description

AccountApi | add_ldap | POST /api/add-ldap | AccountApi | delete_ldap | POST /api/delete-ldap | AccountApi | get_account | GET /api/get-account | AccountApi | get_ldap | GET /api/get-ldap | AccountApi | get_ldaps | GET /api/get-ldaps | AccountApi | get_ldapser | GET /api/get-ldap-users | AccountApi | reset_email_or_phone | POST /api/reset-email-or-phone | AccountApi | set_password | POST /api/set-password | AccountApi | sync_ldap_users | POST /api/sync-ldap-users | AccountApi | update_ldap | POST /api/update-ldap | AccountApi | user_info | GET /api/userinfo | AccountApi | user_info2 | GET /api/user | AdapterApi | add_adapter | POST /api/add-adapter | AdapterApi | delete_adapter | POST /api/delete-adapter | AdapterApi | get_adapter | GET /api/get-adapter | AdapterApi | get_adapters | GET /api/get-adapters | AdapterApi | update_adapter | POST /api/update-adapter | ApplicationApi | add_application | POST /api/add-application | ApplicationApi | delete_application | POST /api/delete-application | ApplicationApi | get_application | GET /api/get-application | ApplicationApi | get_applications | GET /api/get-applications | ApplicationApi | get_organization_applications | GET /api/get-organization-applications | ApplicationApi | get_user_application | GET /api/get-user-application | ApplicationApi | update_application | POST /api/update-application | CallbackApi | callback | POST /api/Callback | CertApi | add_cert | POST /api/add-cert | CertApi | delete_cert | POST /api/delete-cert | CertApi | get_cert | GET /api/get-cert | CertApi | get_certs | GET /api/get-certs | CertApi | get_global_certs | GET /api/get-global-certs | CertApi | update_cert | POST /api/update-cert | EnforcerApi | add_enforcer | POST /api/add-enforcer | EnforcerApi | batch_enforce | POST /api/batch-enforce | EnforcerApi | delete_enforcer | POST /api/delete-enforcer | EnforcerApi | enforce | POST /api/enforce | EnforcerApi | get_enforcer | GET /api/get-enforcer | EnforcerApi | get_enforcers | GET /api/get-enforcers | EnforcerApi | update_enforcer | POST /api/update-enforcer | GroupApi | add_group | POST /api/add-group | GroupApi | delete_group | POST /api/delete-group | GroupApi | get_group | GET /api/get-group | GroupApi | get_groups | GET /api/get-groups | GroupApi | update_group | POST /api/update-group | InvitationApi | add_invitation | POST /api/add-invitation | InvitationApi | delete_invitation | POST /api/delete-invitation | InvitationApi | get_invitation | GET /api/get-invitation | InvitationApi | get_invitations | GET /api/get-invitations | InvitationApi | update_invitation | POST /api/update-invitation | InvitationApi | verify_invitation | GET /api/verify-invitation | LoginApi | get_application_login | GET /api/get-app-login | LoginApi | get_captcha | GET /api/get-captcha | LoginApi | introspect_token | POST /api/login/oauth/introspect | LoginApi | login | POST /api/login | LoginApi | logout | POST /api/logout | LoginApi | signup | POST /api/signup | LoginApi | unlink | POST /api/unlink | LoginApi | web_authn_signin_begin | GET /api/webauthn/signin/begin | LoginApi | web_authn_signin_finish | POST /api/webauthn/signin/finish | MfaApi | delete_mfa | POST /api/delete-mfa/ | MfaApi | mfa_setup_enable | POST /api/mfa/setup/enable | MfaApi | mfa_setup_initiate | POST /api/mfa/setup/initiate | MfaApi | mfa_setup_verify | POST /api/mfa/setup/verify | MfaApi | set_preferred_mfa | POST /api/set-preferred-mfa | ModelApi | add_model | POST /api/add-model | ModelApi | delete_model | POST /api/delete-model | ModelApi | get_model | GET /api/get-model | ModelApi | get_models | GET /api/get-models | ModelApi | update_model | POST /api/update-model | OidcApi | root_controllerget_jwks | GET /.well-known/jwks | OidcApi | root_controllerget_oidc_discovery | GET /.well-known/openid-configuration | OrganizationApi | add_organization | POST /api/add-organization | OrganizationApi | delete_organization | POST /api/delete-organization | OrganizationApi | get_default_application | GET /api/get-default-application | OrganizationApi | get_organization | GET /api/get-organization | OrganizationApi | get_organization_names | GET /api/get-organization-names | OrganizationApi | get_organizations | GET /api/get-organizations | OrganizationApi | update_organization | POST /api/update-organization | PaymentApi | add_payment | POST /api/add-payment | PaymentApi | delete_payment | POST /api/delete-payment | PaymentApi | get_payment | GET /api/get-payment | PaymentApi | get_payments | GET /api/get-payments | PaymentApi | get_user_payments | GET /api/get-user-payments | PaymentApi | invoice_payment | POST /api/invoice-payment | PaymentApi | notify_payment | POST /api/notify-payment | PaymentApi | update_payment | POST /api/update-payment | PermissionApi | add_permission | POST /api/add-permission | PermissionApi | delete_permission | POST /api/delete-permission | PermissionApi | get_permission | GET /api/get-permission | PermissionApi | get_permissions | GET /api/get-permissions | PermissionApi | get_permissions_by_role | GET /api/get-permissions-by-role | PermissionApi | get_permissions_by_submitter | GET /api/get-permissions-by-submitter | PermissionApi | update_permission | POST /api/update-permission | PlanApi | add_plan | POST /api/add-plan | PlanApi | delete_plan | POST /api/delete-plan | PlanApi | get_plan | GET /api/get-plan | PlanApi | get_plans | GET /api/get-plans | PlanApi | update_plan | POST /api/update-plan | PricingApi | add_pricing | POST /api/add-pricing | PricingApi | delete_pricing | POST /api/delete-pricing | PricingApi | get_pricing | GET /api/get-pricing | PricingApi | get_pricings | GET /api/get-pricings | PricingApi | update_pricing | POST /api/update-pricing | ProductApi | add_product | POST /api/add-product | ProductApi | buy_product | POST /api/buy-product | ProductApi | delete_product | POST /api/delete-product | ProductApi | get_product | GET /api/get-product | ProductApi | get_products | GET /api/get-products | ProductApi | update_product | POST /api/update-product | ProviderApi | add_provider | POST /api/add-provider | ProviderApi | delete_provider | POST /api/delete-provider | ProviderApi | get_global_providers | GET /api/get-global-providers | ProviderApi | get_provider | GET /api/get-provider | ProviderApi | get_providers | GET /api/get-providers | ProviderApi | update_provider | POST /api/update-provider | ResourceApi | add_resource | POST /api/add-resource | ResourceApi | delete_resource | POST /api/delete-resource | ResourceApi | get_resource | GET /api/get-resource | ResourceApi | get_resources | GET /api/get-resources | ResourceApi | update_resource | POST /api/update-resource | ResourceApi | upload_resource | POST /api/upload-resource | RoleApi | add_role | POST /api/add-role | RoleApi | delete_role | POST /api/delete-role | RoleApi | get_role | GET /api/get-role | RoleApi | get_roles | GET /api/get-roles | RoleApi | update_role | POST /api/update-role | ServiceApi | send_email | POST /api/send-email | ServiceApi | send_notification | POST /api/send-notification | ServiceApi | send_sms | POST /api/send-sms | SessionApi | add_session | POST /api/add-session | SessionApi | delete_session | POST /api/delete-session | SessionApi | get_sessions | GET /api/get-sessions | SessionApi | get_single_session | GET /api/get-session | SessionApi | is_session_duplicated | GET /api/is-session-duplicated | SessionApi | update_session | POST /api/update-session | SubscriptionApi | add_subscription | POST /api/add-subscription | SubscriptionApi | delete_subscription | POST /api/delete-subscription | SubscriptionApi | get_subscription | GET /api/get-subscription | SubscriptionApi | get_subscriptions | GET /api/get-subscriptions | SubscriptionApi | update_subscription | POST /api/update-subscription | SyncerApi | add_syncer | POST /api/add-syncer | SyncerApi | delete_syncer | POST /api/delete-syncer | SyncerApi | get_syncer | GET /api/get-syncer | SyncerApi | get_syncers | GET /api/get-syncers | SyncerApi | run_syncer | GET /api/run-syncer | SyncerApi | update_syncer | POST /api/update-syncer | SystemApi | get_dashboard | GET /api/get-dashboard | SystemApi | get_prometheus_info | GET /api/get-prometheus-info | SystemApi | get_system_info | GET /api/get-system-info | SystemApi | get_version_info | GET /api/get-version-info | SystemApi | get_webhook_event_type | GET /api/get-webhook-event | SystemApi | handle_official_account_event | POST /api/webhook | SystemApi | health | GET /api/health | TokenApi | add_token | POST /api/add-token | TokenApi | delete_token | POST /api/delete-token | TokenApi | get_captcha_status | GET /api/get-captcha-status | TokenApi | get_o_auth_token | POST /api/login/oauth/access_token | TokenApi | get_token | GET /api/get-token | TokenApi | get_tokens | GET /api/get-tokens | TokenApi | refresh_token | POST /api/login/oauth/refresh_token | TokenApi | update_token | POST /api/update-token | UserApi | add_user | POST /api/add-user | UserApi | add_user_keys | POST /api/add-user-keys | UserApi | check_user_password | POST /api/check-user-password | UserApi | delete_user | POST /api/delete-user | UserApi | get_email_and_phone | GET /api/get-email-and-phone | UserApi | get_global_users | GET /api/get-global-users | UserApi | get_sorted_users | GET /api/get-sorted-users | UserApi | get_user | GET /api/get-user | UserApi | get_user_count | GET /api/get-user-count | UserApi | get_users | GET /api/get-users | UserApi | update_user | POST /api/update-user | UserApi | web_authn_signup_begin | GET /api/webauthn/signup/begin | UserApi | web_authn_signup_finish | POST /api/webauthn/signup/finish | VerificationApi | send_verification_code | POST /api/send-verification-code | VerificationApi | verify_captcha | POST /api/verify-captcha | VerificationApi | verify_code | POST /api/verify-code | WebhookApi | add_webhook | POST /api/add-webhook | WebhookApi | delete_webhook | POST /api/delete-webhook | WebhookApi | get_webhook | GET /api/get-webhook | WebhookApi | get_webhooks | GET /api/get-webhooks | WebhookApi | update_webhook | POST /api/update-webhook |

Documentation For Models

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

cargo doc --open

Author

shanur.cse.nitap@gmail.com

Commit count: 25

cargo fmt