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.

Installation

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

ory-hydra-client = { path = "./ory-hydra-client" }

Documentation for API Endpoints

All URIs are relative to http://localhost

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- JwkApi | createjsonwebkeyset | POST /admin/keys/{set} | Create JSON Web Key JwkApi | deletejsonwebkey | DELETE /admin/keys/{set}/{kid} | Delete JSON Web Key *JwkApi* | deletejsonwebkeyset | DELETE /admin/keys/{set} | Delete JSON Web Key Set *JwkApi* | getjsonwebkey | GET /admin/keys/{set}/{kid} | Get JSON Web Key JwkApi | getjsonwebkeyset | GET /admin/keys/{set} | Retrieve a JSON Web Key Set JwkApi | setjsonwebkey | PUT /admin/keys/{set}/{kid} | Set JSON Web Key *JwkApi* | setjsonwebkeyset | PUT /admin/keys/{set} | Update a JSON Web Key Set *MetadataApi* | getversion | GET /version | Return Running Software Version. MetadataApi | isalive | GET /health/alive | Check HTTP Server Status *MetadataApi* | isready | GET /health/ready | Check HTTP Server and Database Status OAuth2Api | acceptoauth2consentrequest | PUT /admin/oauth2/auth/requests/consent/accept | Accept OAuth 2.0 Consent Request OAuth2Api | acceptoauth2loginrequest | PUT /admin/oauth2/auth/requests/login/accept | Accept OAuth 2.0 Login Request OAuth2Api | acceptoauth2logoutrequest | PUT /admin/oauth2/auth/requests/logout/accept | Accept OAuth 2.0 Session Logout Request OAuth2Api | createoauth2client | POST /admin/clients | Create OAuth 2.0 Client *OAuth2Api* | deleteoauth2client | DELETE /admin/clients/{id} | Delete OAuth 2.0 Client OAuth2Api | deleteoauth2token | DELETE /admin/oauth2/tokens | Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client *OAuth2Api* | deletetrustedoauth2jwtgrantissuer | DELETE /admin/trust/grants/jwt-bearer/issuers/{id} | Delete Trusted OAuth2 JWT Bearer Grant Type Issuer *OAuth2Api* | getoauth2client | GET /admin/clients/{id} | Get an OAuth 2.0 Client OAuth2Api | getoauth2consentrequest | GET /admin/oauth2/auth/requests/consent | Get OAuth 2.0 Consent Request OAuth2Api | getoauth2loginrequest | GET /admin/oauth2/auth/requests/login | Get OAuth 2.0 Login Request OAuth2Api | getoauth2logoutrequest | GET /admin/oauth2/auth/requests/logout | Get OAuth 2.0 Session Logout Request OAuth2Api | gettrustedoauth2jwtgrantissuer | GET /admin/trust/grants/jwt-bearer/issuers/{id} | Get Trusted OAuth2 JWT Bearer Grant Type Issuer OAuth2Api | introspectoauth2token | POST /admin/oauth2/introspect | Introspect OAuth2 Access and Refresh Tokens *OAuth2Api* | listoauth2clients | GET /admin/clients | List OAuth 2.0 Clients OAuth2Api | listoauth2consentsessions | GET /admin/oauth2/auth/sessions/consent | List OAuth 2.0 Consent Sessions of a Subject OAuth2Api | listtrustedoauth2jwtgrantissuers | GET /admin/trust/grants/jwt-bearer/issuers | List Trusted OAuth2 JWT Bearer Grant Type Issuers OAuth2Api | oauth2authorize | GET /oauth2/auth | OAuth 2.0 Authorize Endpoint OAuth2Api | oauth2tokenexchange | POST /oauth2/token | The OAuth 2.0 Token Endpoint OAuth2Api | patchoauth2client | PATCH /admin/clients/{id} | Patch OAuth 2.0 Client *OAuth2Api* | rejectoauth2consentrequest | PUT /admin/oauth2/auth/requests/consent/reject | Reject OAuth 2.0 Consent Request *OAuth2Api* | rejectoauth2loginrequest | PUT /admin/oauth2/auth/requests/login/reject | Reject OAuth 2.0 Login Request *OAuth2Api* | rejectoauth2logoutrequest | PUT /admin/oauth2/auth/requests/logout/reject | Reject OAuth 2.0 Session Logout Request *OAuth2Api* | revokeoauth2consentsessions | DELETE /admin/oauth2/auth/sessions/consent | Revoke OAuth 2.0 Consent Sessions of a Subject *OAuth2Api* | revokeoauth2loginsessions | DELETE /admin/oauth2/auth/sessions/login | Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID *OAuth2Api* | revokeoauth2token | POST /oauth2/revoke | Revoke OAuth 2.0 Access or Refresh Token OAuth2Api | setoauth2client | PUT /admin/clients/{id} | Set OAuth 2.0 Client *OAuth2Api* | setoauth2clientlifespans | PUT /admin/clients/{id}/lifespans | Set OAuth2 Client Token Lifespans *OAuth2Api* | trustoauth2jwtgrantissuer | POST /admin/trust/grants/jwt-bearer/issuers | Trust OAuth2 JWT Bearer Grant Type Issuer OidcApi | createoidcdynamicclient | POST /oauth2/register | Register OAuth2 Client using OpenID Dynamic Client Registration *OidcApi* | deleteoidcdynamicclient | DELETE /oauth2/register/{id} | Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol OidcApi | discoveroidcconfiguration | GET /.well-known/openid-configuration | OpenID Connect Discovery OidcApi | getoidcdynamicclient | GET /oauth2/register/{id} | Get OAuth2 Client using OpenID Dynamic Client Registration *OidcApi* | getoidcuserinfo | GET /userinfo | OpenID Connect Userinfo OidcApi | revokeoidcsession | GET /oauth2/sessions/logout | OpenID Connect Front- and Back-channel Enabled Logout OidcApi | setoidcdynamicclient | PUT /oauth2/register/{id} | Set OAuth2 Client using OpenID Dynamic Client Registration *WellknownApi* | discoverjsonwebkeys | GET /.well-known/jwks.json | Discover Well-Known JSON Web Keys

Documentation For Models

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

cargo doc --open

Author

hi@ory.sh