8 stable releases
1.11.8 | May 4, 2022 |
---|---|
1.11.7 | Feb 23, 2022 |
1.10.6 | Aug 28, 2021 |
1.10.3 | May 10, 2021 |
#260 in Authentication
118 downloads per month
210KB
2.5K
SLoC
Rust API client for ory-hydra-client
Documentation for all of Ory Hydra's APIs.
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: v1.11.8
- Package version: v1.11.8
- Build package: org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./generated" }
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
AdminApi | accept_consent_request | PUT /oauth2/auth/requests/consent/accept | Accept a Consent Request |
AdminApi | accept_login_request | PUT /oauth2/auth/requests/login/accept | Accept a Login Request |
AdminApi | accept_logout_request | PUT /oauth2/auth/requests/logout/accept | Accept a Logout Request |
AdminApi | create_json_web_key_set | POST /keys/{set} | Generate a New JSON Web Key |
AdminApi | create_o_auth2_client | POST /clients | Create an OAuth 2.0 Client |
AdminApi | delete_json_web_key | DELETE /keys/{set}/{kid} | Delete a JSON Web Key |
AdminApi | delete_json_web_key_set | DELETE /keys/{set} | Delete a JSON Web Key Set |
AdminApi | delete_o_auth2_client | DELETE /clients/{id} | Deletes an OAuth 2.0 Client |
AdminApi | delete_o_auth2_token | DELETE /oauth2/tokens | Delete OAuth2 Access Tokens from a Client |
AdminApi | delete_trusted_jwt_grant_issuer | DELETE /trust/grants/jwt-bearer/issuers/{id} | Delete a Trusted OAuth2 JWT Bearer Grant Type Issuer |
AdminApi | flush_inactive_o_auth2_tokens | POST /oauth2/flush | Flush Expired OAuth2 Access Tokens |
AdminApi | get_consent_request | GET /oauth2/auth/requests/consent | Get Consent Request Information |
AdminApi | get_json_web_key | GET /keys/{set}/{kid} | Fetch a JSON Web Key |
AdminApi | get_json_web_key_set | GET /keys/{set} | Retrieve a JSON Web Key Set |
AdminApi | get_login_request | GET /oauth2/auth/requests/login | Get a Login Request |
AdminApi | get_logout_request | GET /oauth2/auth/requests/logout | Get a Logout Request |
AdminApi | get_o_auth2_client | GET /clients/{id} | Get an OAuth 2.0 Client |
AdminApi | get_trusted_jwt_grant_issuer | GET /trust/grants/jwt-bearer/issuers/{id} | Get a Trusted OAuth2 JWT Bearer Grant Type Issuer |
AdminApi | introspect_o_auth2_token | POST /oauth2/introspect | Introspect OAuth2 Tokens |
AdminApi | list_o_auth2_clients | GET /clients | List OAuth 2.0 Clients |
AdminApi | list_subject_consent_sessions | GET /oauth2/auth/sessions/consent | Lists All Consent Sessions of a Subject |
AdminApi | list_trusted_jwt_grant_issuers | GET /trust/grants/jwt-bearer/issuers | List Trusted OAuth2 JWT Bearer Grant Type Issuers |
AdminApi | patch_o_auth2_client | PATCH /clients/{id} | Patch an OAuth 2.0 Client |
AdminApi | reject_consent_request | PUT /oauth2/auth/requests/consent/reject | Reject a Consent Request |
AdminApi | reject_login_request | PUT /oauth2/auth/requests/login/reject | Reject a Login Request |
AdminApi | reject_logout_request | PUT /oauth2/auth/requests/logout/reject | Reject a Logout Request |
AdminApi | revoke_authentication_session | DELETE /oauth2/auth/sessions/login | Invalidates All Login Sessions of a Certain User Invalidates a Subject's Authentication Session |
AdminApi | revoke_consent_sessions | DELETE /oauth2/auth/sessions/consent | Revokes Consent Sessions of a Subject for a Specific OAuth 2.0 Client |
AdminApi | trust_jwt_grant_issuer | POST /trust/grants/jwt-bearer/issuers | Trust an OAuth2 JWT Bearer Grant Type Issuer |
AdminApi | update_json_web_key | PUT /keys/{set}/{kid} | Update a JSON Web Key |
AdminApi | update_json_web_key_set | PUT /keys/{set} | Update a JSON Web Key Set |
AdminApi | update_o_auth2_client | PUT /clients/{id} | Update an OAuth 2.0 Client |
MetadataApi | get_version | GET /version | Return Running Software Version. |
MetadataApi | is_alive | GET /health/alive | Check HTTP Server Status |
MetadataApi | is_ready | GET /health/ready | Check HTTP Server and Database Status |
PublicApi | disconnect_user | GET /oauth2/sessions/logout | OpenID Connect Front-Backchannel Enabled Logout |
PublicApi | discover_open_id_configuration | GET /.well-known/openid-configuration | OpenID Connect Discovery |
PublicApi | dynamic_client_registration_create_o_auth2_client | POST /connect/register | Register an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol |
PublicApi | dynamic_client_registration_delete_o_auth2_client | DELETE /connect/register/{id} | Deletes an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol |
PublicApi | dynamic_client_registration_get_o_auth2_client | GET /connect/register/{id} | Get an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol |
PublicApi | dynamic_client_registration_update_o_auth2_client | PUT /connect/register/{id} | Update an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol |
PublicApi | oauth2_token | POST /oauth2/token | The OAuth 2.0 Token Endpoint |
PublicApi | oauth_auth | GET /oauth2/auth | The OAuth 2.0 Authorize Endpoint |
PublicApi | revoke_o_auth2_token | POST /oauth2/revoke | Revoke OAuth2 Tokens |
PublicApi | userinfo | GET /userinfo | OpenID Connect Userinfo |
PublicApi | well_known | GET /.well-known/jwks.json | JSON Web Keys Discovery |
Documentation For Models
- AcceptConsentRequest
- AcceptLoginRequest
- CompletedRequest
- ConsentRequest
- ConsentRequestSession
- FlushInactiveOAuth2TokensRequest
- FlushLoginConsentRequest
- GenericError
- HealthNotReadyStatus
- HealthStatus
- InlineResponse200
- InlineResponse2001
- InlineResponse503
- JsonError
- JsonWebKey
- JsonWebKeySet
- JsonWebKeySetGeneratorRequest
- LoginRequest
- LogoutRequest
- OAuth2Client
- OAuth2TokenIntrospection
- Oauth2TokenResponse
- OauthTokenResponse
- OpenIdConnectContext
- PatchDocument
- PreviousConsentSession
- RefreshTokenHookRequest
- RefreshTokenHookResponse
- RejectRequest
- RequestWasHandledResponse
- TrustJwtGrantIssuerBody
- TrustedJsonWebKey
- TrustedJwtGrantIssuer
- UserinfoResponse
- Version
- WellKnown
To get access to the crate's generated documentation, use:
cargo doc --open
Author
Dependencies
~4–12MB
~250K SLoC