ory_hydra_client 1.10.3 copy "ory_hydra_client: ^1.10.3" to clipboard
ory_hydra_client: ^1.10.3 copied to clipboard

outdated

OpenAPI API client

ory_hydra_client #

Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: v1.10.3
  • Build package: org.openapitools.codegen.languages.DartClientCodegen

Requirements #

Dart 2.0 or later

Installation & Usage #

Github #

If this Dart package is published to Github, add the following dependency to your pubspec.yaml

dependencies:
  ory_hydra_client:
    git: https://github.com/ory/sdk.git

Local #

To use the package in your local drive, add the following dependency to your pubspec.yaml

dependencies:
  ory_hydra_client:
    path: /path/to/ory_hydra_client

Tests #

TODO

Getting Started #

Please follow the installation procedure and then run the following:

import 'package:ory_hydra_client/api.dart';


final api_instance = AdminApi();
final consentChallenge = consentChallenge_example; // String | 
final body = AcceptConsentRequest(); // AcceptConsentRequest | 

try {
    final result = api_instance.acceptConsentRequest(consentChallenge, body);
    print(result);
} catch (e) {
    print('Exception when calling AdminApi->acceptConsentRequest: $e\n');
}

Documentation for API Endpoints #

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 wellKnown GET /.well-known/jwks.json JSON Web Keys Discovery

Documentation For Models #

Documentation For Authorization #

basic #

  • Type: HTTP Basic authentication

oauth2 #

  • Type: OAuth
  • Flow: accessCode
  • Authorization URL: https://hydra.demo.ory.sh/oauth2/auth
  • Scopes:
  • offline: A scope required when requesting refresh tokens (alias for offline_access)
  • offline_access: A scope required when requesting refresh tokens
  • openid: Request an OpenID Connect ID Token

Author #

3
likes
0
pub points
34%
popularity

Publisher

verified publisherory.sh

OpenAPI API client

Homepage

License

unknown (LICENSE)

Dependencies

http, intl, meta

More

Packages that depend on ory_hydra_client