Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
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.
Put the package under your project folder and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./generated" }
All URIs are relative to http://localhost
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- AdminApi | acceptconsentrequest | put /oauth2/auth/requests/consent/accept | Accept a Consent Request AdminApi | acceptloginrequest | put /oauth2/auth/requests/login/accept | Accept a Login Request AdminApi | acceptlogoutrequest | put /oauth2/auth/requests/logout/accept | Accept a Logout Request AdminApi | createjsonwebkeyset | post /keys/{set} | Generate a New JSON Web Key AdminApi | createoauth2client | post /clients | Create an OAuth 2.0 Client *AdminApi* | deletejsonwebkey | delete /keys/{set}/{kid} | Delete a JSON Web Key AdminApi | deletejsonwebkeyset | delete /keys/{set} | Delete a JSON Web Key Set AdminApi | deleteoauth2client | delete /clients/{id} | Deletes an OAuth 2.0 Client *AdminApi* | deleteoauth2token | delete /oauth2/tokens | Delete OAuth2 Access Tokens from a Client AdminApi | flushinactiveoauth2tokens | post /oauth2/flush | Flush Expired OAuth2 Access Tokens AdminApi | getconsentrequest | get /oauth2/auth/requests/consent | Get Consent Request Information AdminApi | getjsonwebkey | get /keys/{set}/{kid} | Fetch a JSON Web Key *AdminApi* | getjsonwebkeyset | get /keys/{set} | Retrieve a JSON Web Key Set *AdminApi* | getloginrequest | get /oauth2/auth/requests/login | Get a Login Request *AdminApi* | getlogoutrequest | get /oauth2/auth/requests/logout | Get a Logout Request *AdminApi* | getoauth2client | get /clients/{id} | Get an OAuth 2.0 Client. AdminApi | getversion | get /version | Get Service Version *AdminApi* | introspectoauth2token | post /oauth2/introspect | Introspect OAuth2 Tokens AdminApi | isinstancealive | get /health/alive | Check Alive Status AdminApi | listoauth2clients | get /clients | List OAuth 2.0 Clients *AdminApi* | listsubjectconsentsessions | get /oauth2/auth/sessions/consent | Lists All Consent Sessions of a Subject AdminApi | patchoauth2client | patch /clients/{id} | Patch an OAuth 2.0 Client *AdminApi* | prometheus | get /metrics/prometheus | Get Snapshot Metrics from the Hydra Service. *AdminApi* | rejectconsentrequest | put /oauth2/auth/requests/consent/reject | Reject a Consent Request *AdminApi* | rejectloginrequest | put /oauth2/auth/requests/login/reject | Reject a Login Request *AdminApi* | rejectlogoutrequest | put /oauth2/auth/requests/logout/reject | Reject a Logout Request *AdminApi* | revokeauthenticationsession | delete /oauth2/auth/sessions/login | Invalidates All Login Sessions of a Certain User Invalidates a Subject's Authentication Session *AdminApi* | revokeconsentsessions | delete /oauth2/auth/sessions/consent | Revokes Consent Sessions of a Subject for a Specific OAuth 2.0 Client *AdminApi* | updatejsonwebkey | put /keys/{set}/{kid} | Update a JSON Web Key AdminApi | updatejsonwebkeyset | put /keys/{set} | Update a JSON Web Key Set AdminApi | updateoauth2client | put /clients/{id} | Update an OAuth 2.0 Client *PublicApi* | disconnectuser | get /oauth2/sessions/logout | OpenID Connect Front-Backchannel Enabled Logout PublicApi | discoveropenidconfiguration | get /.well-known/openid-configuration | OpenID Connect Discovery *PublicApi* | isinstanceready | get /health/ready | Check Readiness Status *PublicApi* | oauth2token | post /oauth2/token | The OAuth 2.0 Token Endpoint PublicApi | oauthauth | get /oauth2/auth | The OAuth 2.0 Authorize Endpoint *PublicApi* | revokeoauth2token | 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
To get access to the crate's generated documentation, use:
cargo doc --open