Rust API client for ory-hydra-client
Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
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.10.3
- Package version: v1.10.3
- 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 | 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_version | get /version | Get Service Version |
AdminApi | introspect_o_auth2_token | post /oauth2/introspect | Introspect OAuth2 Tokens |
AdminApi | is_instance_alive | get /health/alive | Check Alive Status |
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 | patch_o_auth2_client | patch /clients/{id} | Patch an OAuth 2.0 Client |
AdminApi | prometheus | get /metrics/prometheus | Get Snapshot Metrics from the Hydra Service. |
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 | 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 |
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 | is_instance_ready | get /health/ready | Check Readiness Status |
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
- ContainerWaitOkBodyError
- FlushInactiveOAuth2TokensRequest
- GenericError
- HealthNotReadyStatus
- HealthStatus
- JsonWebKey
- JsonWebKeySet
- JsonWebKeySetGeneratorRequest
- LoginRequest
- LogoutRequest
- OAuth2Client
- OAuth2TokenIntrospection
- Oauth2TokenResponse
- OpenIdConnectContext
- PatchDocument
- PluginConfig
- PluginConfigArgs
- PluginConfigInterface
- PluginConfigLinux
- PluginConfigNetwork
- PluginConfigRootfs
- PluginConfigUser
- PluginDevice
- PluginEnv
- PluginInterfaceType
- PluginMount
- PluginSettings
- PreviousConsentSession
- RejectRequest
- RequestWasHandledResponse
- UserinfoResponse
- Version
- Volume
- VolumeUsageData
- WellKnown
To get access to the crate's generated documentation, use:
cargo doc --open