19 stable releases

1.0.18 Nov 6, 2024
1.0.17 Nov 4, 2024
1.0.16 Oct 18, 2024
1.0.14 Sep 16, 2024
1.0.0 Apr 14, 2024

#229 in Web programming

Download history 10/week @ 2024-07-29 18/week @ 2024-08-05 25/week @ 2024-08-12 72/week @ 2024-08-19 95/week @ 2024-08-26 62/week @ 2024-09-02 38/week @ 2024-09-09 365/week @ 2024-09-16 194/week @ 2024-09-23 66/week @ 2024-09-30 51/week @ 2024-10-07 390/week @ 2024-10-14 157/week @ 2024-10-21 374/week @ 2024-10-28 524/week @ 2024-11-04 173/week @ 2024-11-11

1,257 downloads per month
Used in dtz

MIT/Apache

59KB
976 lines

Rust API client for dtz-identity

a generated client for the DTZ Identity API

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.0.18
  • Package version: 1.0.18
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

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

dtz-identity = { path = "./dtz-identity" }

Documentation for API Endpoints

All URIs are relative to https://identity.dtz.rocks/api/2021-02-21

Class Method HTTP request Description
DefaultApi assign_role POST /me/roles/{roleId} create role assignment
DefaultApi assume_identity POST /identity/assume assume identity
DefaultApi authenticate_apikey POST /auth/apikey authenticate with apikey
DefaultApi change_authentication POST /authentication update the user authentication, aka change you password
DefaultApi create_api_key POST /me/identity/apikey create api key
DefaultApi delete_api_key DELETE /me/identity/apikey/{apikey} delete api key
DefaultApi delete_context_roles DELETE /context/{context_id} delete all roles attached to this context
DefaultApi delete_identity DELETE /me/identity delete current identity
DefaultApi get_account_email GET /me/email Get account email
DefaultApi get_account_stats GET /me get account stats
DefaultApi get_roles GET /roles get roles
DefaultApi list_authentication GET /authentication list user authentications
DefaultApi new_context POST /context/{context_id}/new create identity requirements for a new context
DefaultApi oauth_authorize GET /oauth/authorize oauth authorize
DefaultApi oauth_token POST /oauth/token oauth token request
DefaultApi remove_role_assignment DELETE /me/roles/{roleId} remove role assignment from identity
DefaultApi token_refresh POST /token/refresh token refresh
DefaultApi user_login POST /token/auth user login
DefaultApi user_signup POST /signup create a new identity with the given email as account email, also create an authentication with the given credentials to allow a login, creates a default context

Documentation For Models

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

cargo doc --open

Author

jens@apimeister.com

Dependencies

~5–17MB
~251K SLoC