okhttp3.Call |
AdminApi.acceptConsentRequestAsync(String consentChallenge,
AcceptConsentRequest body,
ApiCallback<CompletedRequest> _callback) |
Accept a Consent Request (asynchronously)
When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it.
|
okhttp3.Call |
AdminApi.acceptConsentRequestCall(String consentChallenge,
AcceptConsentRequest body,
ApiCallback _callback) |
Build call for acceptConsentRequest
|
okhttp3.Call |
AdminApi.acceptLoginRequestAsync(String loginChallenge,
AcceptLoginRequest body,
ApiCallback<CompletedRequest> _callback) |
Accept a Login Request (asynchronously)
When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider (sometimes called \"identity provider\") to authenticate the subject and then tell ORY Hydra now about it.
|
okhttp3.Call |
AdminApi.acceptLoginRequestCall(String loginChallenge,
AcceptLoginRequest body,
ApiCallback _callback) |
Build call for acceptLoginRequest
|
okhttp3.Call |
AdminApi.acceptLogoutRequestAsync(String logoutChallenge,
ApiCallback<CompletedRequest> _callback) |
Accept a Logout Request (asynchronously)
When a user or an application requests ORY Hydra to log out a user, this endpoint is used to confirm that logout request.
|
okhttp3.Call |
AdminApi.acceptLogoutRequestCall(String logoutChallenge,
ApiCallback _callback) |
Build call for acceptLogoutRequest
|
okhttp3.Call |
AdminApi.createJsonWebKeySetAsync(String set,
JsonWebKeySetGeneratorRequest body,
ApiCallback<JSONWebKeySet> _callback) |
Generate a New JSON Web Key (asynchronously)
This endpoint is capable of generating JSON Web Key Sets for you.
|
okhttp3.Call |
AdminApi.createJsonWebKeySetCall(String set,
JsonWebKeySetGeneratorRequest body,
ApiCallback _callback) |
Build call for createJsonWebKeySet
|
okhttp3.Call |
AdminApi.createOAuth2ClientAsync(OAuth2Client body,
ApiCallback<OAuth2Client> _callback) |
Create an OAuth 2.0 Client (asynchronously)
Create a new OAuth 2.0 client If you pass `client_secret` the secret will be used, otherwise a random secret will be generated.
|
okhttp3.Call |
AdminApi.createOAuth2ClientCall(OAuth2Client body,
ApiCallback _callback) |
Build call for createOAuth2Client
|
okhttp3.Call |
AdminApi.deleteJsonWebKeyAsync(String kid,
String set,
ApiCallback<Void> _callback) |
Delete a JSON Web Key (asynchronously)
Use this endpoint to delete a single JSON Web Key.
|
okhttp3.Call |
AdminApi.deleteJsonWebKeyCall(String kid,
String set,
ApiCallback _callback) |
Build call for deleteJsonWebKey
|
okhttp3.Call |
AdminApi.deleteJsonWebKeySetAsync(String set,
ApiCallback<Void> _callback) |
Delete a JSON Web Key Set (asynchronously)
Use this endpoint to delete a complete JSON Web Key Set and all the keys in that set.
|
okhttp3.Call |
AdminApi.deleteJsonWebKeySetCall(String set,
ApiCallback _callback) |
Build call for deleteJsonWebKeySet
|
okhttp3.Call |
AdminApi.deleteOAuth2ClientAsync(String id,
ApiCallback<Void> _callback) |
Deletes an OAuth 2.0 Client (asynchronously)
Delete an existing OAuth 2.0 Client by its ID.
|
okhttp3.Call |
AdminApi.deleteOAuth2ClientCall(String id,
ApiCallback _callback) |
Build call for deleteOAuth2Client
|
okhttp3.Call |
AdminApi.deleteOAuth2TokenAsync(String clientId,
ApiCallback<Void> _callback) |
Delete OAuth2 Access Tokens from a Client (asynchronously)
This endpoint deletes OAuth2 access tokens issued for a client from the database
|
okhttp3.Call |
AdminApi.deleteOAuth2TokenCall(String clientId,
ApiCallback _callback) |
Build call for deleteOAuth2Token
|
okhttp3.Call |
PublicApi.disconnectUserAsync(ApiCallback<Void> _callback) |
OpenID Connect Front-Backchannel Enabled Logout (asynchronously)
This endpoint initiates and completes user logout at ORY Hydra and initiates OpenID Connect Front-/Back-channel logout: https://openid.net/specs/openid-connect-frontchannel-1_0.html https://openid.net/specs/openid-connect-backchannel-1_0.html
|
okhttp3.Call |
PublicApi.disconnectUserCall(ApiCallback _callback) |
Build call for disconnectUser
|
okhttp3.Call |
PublicApi.discoverOpenIDConfigurationAsync(ApiCallback<WellKnown> _callback) |
OpenID Connect Discovery (asynchronously)
The well known endpoint an be used to retrieve information for OpenID Connect clients.
|
okhttp3.Call |
PublicApi.discoverOpenIDConfigurationCall(ApiCallback _callback) |
Build call for discoverOpenIDConfiguration
|
okhttp3.Call |
AdminApi.flushInactiveOAuth2TokensAsync(FlushInactiveOAuth2TokensRequest body,
ApiCallback<Void> _callback) |
Flush Expired OAuth2 Access Tokens (asynchronously)
This endpoint flushes expired OAuth2 access tokens from the database.
|
okhttp3.Call |
AdminApi.flushInactiveOAuth2TokensCall(FlushInactiveOAuth2TokensRequest body,
ApiCallback _callback) |
Build call for flushInactiveOAuth2Tokens
|
okhttp3.Call |
AdminApi.getConsentRequestAsync(String consentChallenge,
ApiCallback<ConsentRequest> _callback) |
Get Consent Request Information (asynchronously)
When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it.
|
okhttp3.Call |
AdminApi.getConsentRequestCall(String consentChallenge,
ApiCallback _callback) |
Build call for getConsentRequest
|
okhttp3.Call |
AdminApi.getJsonWebKeyAsync(String kid,
String set,
ApiCallback<JSONWebKeySet> _callback) |
Fetch a JSON Web Key (asynchronously)
This endpoint returns a singular JSON Web Key, identified by the set and the specific key ID (kid).
|
okhttp3.Call |
AdminApi.getJsonWebKeyCall(String kid,
String set,
ApiCallback _callback) |
Build call for getJsonWebKey
|
okhttp3.Call |
AdminApi.getJsonWebKeySetAsync(String set,
ApiCallback<JSONWebKeySet> _callback) |
Retrieve a JSON Web Key Set (asynchronously)
This endpoint can be used to retrieve JWK Sets stored in ORY Hydra.
|
okhttp3.Call |
AdminApi.getJsonWebKeySetCall(String set,
ApiCallback _callback) |
Build call for getJsonWebKeySet
|
okhttp3.Call |
AdminApi.getLoginRequestAsync(String loginChallenge,
ApiCallback<LoginRequest> _callback) |
Get a Login Request (asynchronously)
When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider (sometimes called \"identity provider\") to authenticate the subject and then tell ORY Hydra now about it.
|
okhttp3.Call |
AdminApi.getLoginRequestCall(String loginChallenge,
ApiCallback _callback) |
Build call for getLoginRequest
|
okhttp3.Call |
AdminApi.getLogoutRequestAsync(String logoutChallenge,
ApiCallback<LogoutRequest> _callback) |
Get a Logout Request (asynchronously)
Use this endpoint to fetch a logout request.
|
okhttp3.Call |
AdminApi.getLogoutRequestCall(String logoutChallenge,
ApiCallback _callback) |
Build call for getLogoutRequest
|
okhttp3.Call |
AdminApi.getOAuth2ClientAsync(String id,
ApiCallback<OAuth2Client> _callback) |
Get an OAuth 2.0 Client.
|
okhttp3.Call |
AdminApi.getOAuth2ClientCall(String id,
ApiCallback _callback) |
Build call for getOAuth2Client
|
okhttp3.Call |
AdminApi.getVersionAsync(ApiCallback<Version> _callback) |
Get Service Version (asynchronously)
This endpoint returns the service version typically notated using semantic versioning.
|
okhttp3.Call |
AdminApi.getVersionCall(ApiCallback _callback) |
Build call for getVersion
|
okhttp3.Call |
AdminApi.introspectOAuth2TokenAsync(String token,
String scope,
ApiCallback<OAuth2TokenIntrospection> _callback) |
Introspect OAuth2 Tokens (asynchronously)
The introspection endpoint allows to check if a token (both refresh and access) is active or not.
|
okhttp3.Call |
AdminApi.introspectOAuth2TokenCall(String token,
String scope,
ApiCallback _callback) |
Build call for introspectOAuth2Token
|
okhttp3.Call |
AdminApi.isInstanceAliveAsync(ApiCallback<HealthStatus> _callback) |
Check Alive Status (asynchronously)
This endpoint returns a 200 status code when the HTTP server is up running.
|
okhttp3.Call |
AdminApi.isInstanceAliveCall(ApiCallback _callback) |
Build call for isInstanceAlive
|
okhttp3.Call |
PublicApi.isInstanceReadyAsync(ApiCallback<HealthStatus> _callback) |
Check Readiness Status (asynchronously)
This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g.
|
okhttp3.Call |
PublicApi.isInstanceReadyCall(ApiCallback _callback) |
Build call for isInstanceReady
|
okhttp3.Call |
AdminApi.listOAuth2ClientsAsync(Long limit,
Long offset,
ApiCallback<List<OAuth2Client>> _callback) |
List OAuth 2.0 Clients (asynchronously)
This endpoint lists all clients in the database, and never returns client secrets.
|
okhttp3.Call |
AdminApi.listOAuth2ClientsCall(Long limit,
Long offset,
ApiCallback _callback) |
Build call for listOAuth2Clients
|
okhttp3.Call |
AdminApi.listSubjectConsentSessionsAsync(String subject,
ApiCallback<List<PreviousConsentSession>> _callback) |
Lists All Consent Sessions of a Subject (asynchronously)
This endpoint lists all subject's granted consent sessions, including client and granted scope.
|
okhttp3.Call |
AdminApi.listSubjectConsentSessionsCall(String subject,
ApiCallback _callback) |
Build call for listSubjectConsentSessions
|
okhttp3.Call |
PublicApi.oauth2TokenAsync(String grantType,
String code,
String refreshToken,
String redirectUri,
String clientId,
ApiCallback<Oauth2TokenResponse> _callback) |
The OAuth 2.0 Token Endpoint (asynchronously)
The client makes a request to the token endpoint by sending the following parameters using the \"application/x-www-form-urlencoded\" HTTP request entity-body.
|
okhttp3.Call |
PublicApi.oauth2TokenCall(String grantType,
String code,
String refreshToken,
String redirectUri,
String clientId,
ApiCallback _callback) |
Build call for oauth2Token
|
okhttp3.Call |
PublicApi.oauthAuthAsync(ApiCallback<Void> _callback) |
The OAuth 2.0 Authorize Endpoint (asynchronously)
This endpoint is not documented here because you should never use your own implementation to perform OAuth2 flows.
|
okhttp3.Call |
PublicApi.oauthAuthCall(ApiCallback _callback) |
Build call for oauthAuth
|
okhttp3.Call |
AdminApi.prometheusAsync(ApiCallback<Void> _callback) |
Get Snapshot Metrics from the Hydra Service.
|
okhttp3.Call |
AdminApi.prometheusCall(ApiCallback _callback) |
Build call for prometheus
|
okhttp3.Call |
AdminApi.rejectConsentRequestAsync(String consentChallenge,
RejectRequest body,
ApiCallback<CompletedRequest> _callback) |
Reject a Consent Request (asynchronously)
When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it.
|
okhttp3.Call |
AdminApi.rejectConsentRequestCall(String consentChallenge,
RejectRequest body,
ApiCallback _callback) |
Build call for rejectConsentRequest
|
okhttp3.Call |
AdminApi.rejectLoginRequestAsync(String loginChallenge,
RejectRequest body,
ApiCallback<CompletedRequest> _callback) |
Reject a Login Request (asynchronously)
When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider (sometimes called \"identity provider\") to authenticate the subject and then tell ORY Hydra now about it.
|
okhttp3.Call |
AdminApi.rejectLoginRequestCall(String loginChallenge,
RejectRequest body,
ApiCallback _callback) |
Build call for rejectLoginRequest
|
okhttp3.Call |
AdminApi.rejectLogoutRequestAsync(String logoutChallenge,
RejectRequest body,
ApiCallback<Void> _callback) |
Reject a Logout Request (asynchronously)
When a user or an application requests ORY Hydra to log out a user, this endpoint is used to deny that logout request.
|
okhttp3.Call |
AdminApi.rejectLogoutRequestCall(String logoutChallenge,
RejectRequest body,
ApiCallback _callback) |
Build call for rejectLogoutRequest
|
okhttp3.Call |
AdminApi.revokeAuthenticationSessionAsync(String subject,
ApiCallback<Void> _callback) |
Invalidates All Login Sessions of a Certain User Invalidates a Subject's Authentication Session (asynchronously)
This endpoint invalidates a subject's authentication session.
|
okhttp3.Call |
AdminApi.revokeAuthenticationSessionCall(String subject,
ApiCallback _callback) |
Build call for revokeAuthenticationSession
|
okhttp3.Call |
AdminApi.revokeConsentSessionsAsync(String subject,
String client,
Boolean all,
ApiCallback<Void> _callback) |
Revokes Consent Sessions of a Subject for a Specific OAuth 2.0 Client (asynchronously)
This endpoint revokes a subject's granted consent sessions for a specific OAuth 2.0 Client and invalidates all associated OAuth 2.0 Access Tokens.
|
okhttp3.Call |
AdminApi.revokeConsentSessionsCall(String subject,
String client,
Boolean all,
ApiCallback _callback) |
Build call for revokeConsentSessions
|
okhttp3.Call |
PublicApi.revokeOAuth2TokenAsync(String token,
ApiCallback<Void> _callback) |
Revoke OAuth2 Tokens (asynchronously)
Revoking a token (both access and refresh) means that the tokens will be invalid.
|
okhttp3.Call |
PublicApi.revokeOAuth2TokenCall(String token,
ApiCallback _callback) |
Build call for revokeOAuth2Token
|
okhttp3.Call |
AdminApi.updateJsonWebKeyAsync(String kid,
String set,
JSONWebKey body,
ApiCallback<JSONWebKey> _callback) |
Update a JSON Web Key (asynchronously)
Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own.
|
okhttp3.Call |
AdminApi.updateJsonWebKeyCall(String kid,
String set,
JSONWebKey body,
ApiCallback _callback) |
Build call for updateJsonWebKey
|
okhttp3.Call |
AdminApi.updateJsonWebKeySetAsync(String set,
JSONWebKeySet body,
ApiCallback<JSONWebKeySet> _callback) |
Update a JSON Web Key Set (asynchronously)
Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own.
|
okhttp3.Call |
AdminApi.updateJsonWebKeySetCall(String set,
JSONWebKeySet body,
ApiCallback _callback) |
Build call for updateJsonWebKeySet
|
okhttp3.Call |
AdminApi.updateOAuth2ClientAsync(String id,
OAuth2Client body,
ApiCallback<OAuth2Client> _callback) |
Update an OAuth 2.0 Client (asynchronously)
Update an existing OAuth 2.0 Client.
|
okhttp3.Call |
AdminApi.updateOAuth2ClientCall(String id,
OAuth2Client body,
ApiCallback _callback) |
Build call for updateOAuth2Client
|
okhttp3.Call |
PublicApi.userinfoAsync(ApiCallback<UserinfoResponse> _callback) |
OpenID Connect Userinfo (asynchronously)
This endpoint returns the payload of the ID Token, including the idTokenExtra values, of the provided OAuth 2.0 Access Token.
|
okhttp3.Call |
PublicApi.userinfoCall(ApiCallback _callback) |
Build call for userinfo
|
okhttp3.Call |
PublicApi.wellKnownAsync(ApiCallback<JSONWebKeySet> _callback) |
JSON Web Keys Discovery (asynchronously)
This endpoint returns JSON Web Keys to be used as public keys for verifying OpenID Connect ID Tokens and, if enabled, OAuth 2.0 JWT Access Tokens.
|
okhttp3.Call |
PublicApi.wellKnownCall(ApiCallback _callback) |
Build call for wellKnown
|