README.md in ory-client-0.2.0.alpha4 vs README.md in ory-client-0.2.0.alpha14

- old
+ new

@@ -6,12 +6,12 @@ with a valid Personal Access Token. Public APIs are mostly used in browsers. This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: v0.2.0-alpha.4 -- Package version: v0.2.0-alpha.4 +- API version: v0.2.0-alpha.14 +- Package version: v0.2.0-alpha.14 - Build package: org.openapitools.codegen.languages.RubyClientCodegen ## Installation ### Build a gem @@ -23,20 +23,20 @@ ``` Then either install the gem locally: ```shell -gem install ./ory-client-v0.2.0-alpha.4.gem +gem install ./ory-client-v0.2.0-alpha.14.gem ``` -(for development, run `gem install --dev ./ory-client-v0.2.0-alpha.4.gem` to install the development dependencies) +(for development, run `gem install --dev ./ory-client-v0.2.0-alpha.14.gem` to install the development dependencies) or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/). Finally add this to the Gemfile: - gem 'ory-client', '~> v0.2.0-alpha.4' + gem 'ory-client', '~> v0.2.0-alpha.14' ### Install from Git If the Ruby gem is hosted at a git repository: https://github.com/ory/sdk, then add the following in the Gemfile: @@ -56,56 +56,92 @@ ```ruby # Load the gem require 'ory-client' -# Setup authorization -OryClient.configure do |config| - # Configure Bearer authorization: oryAccessToken - config.access_token = 'YOUR_BEARER_TOKEN' -end +api_instance = OryClient::AdminApi.new +id = 'id_example' # String | The id of the OAuth 2.0 Client. +opts = { + update_o_auth2_client_lifespans: OryClient::UpdateOAuth2ClientLifespans.new # UpdateOAuth2ClientLifespans | +} -api_instance = OryClient::MetadataApi.new - begin - #Return Running Software Version. - result = api_instance.get_version + result = api_instance.update_o_auth2_client_lifespans(id, opts) p result rescue OryClient::ApiError => e - puts "Exception when calling MetadataApi->get_version: #{e}" + puts "Exception when calling AdminApi->update_o_auth2_client_lifespans: #{e}" end ``` ## Documentation for API Endpoints All URIs are relative to *https://playground.projects.oryapis.com* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- +*OryClient::AdminApi* | [**update_o_auth2_client_lifespans**](docs/AdminApi.md#update_o_auth2_client_lifespans) | **PUT** /admin/clients/{id}/lifespans | *OryClient::MetadataApi* | [**get_version**](docs/MetadataApi.md#get_version) | **GET** /version | Return Running Software Version. *OryClient::MetadataApi* | [**is_alive**](docs/MetadataApi.md#is_alive) | **GET** /health/alive | Check HTTP Server Status *OryClient::MetadataApi* | [**is_ready**](docs/MetadataApi.md#is_ready) | **GET** /health/ready | Check HTTP Server and Database Status *OryClient::ReadApi* | [**get_check**](docs/ReadApi.md#get_check) | **GET** /relation-tuples/check/openapi | Check a relation tuple *OryClient::ReadApi* | [**get_check_mirror_status**](docs/ReadApi.md#get_check_mirror_status) | **GET** /relation-tuples/check | Check a relation tuple *OryClient::ReadApi* | [**get_expand**](docs/ReadApi.md#get_expand) | **GET** /relation-tuples/expand | Expand a Relation Tuple *OryClient::ReadApi* | [**get_relation_tuples**](docs/ReadApi.md#get_relation_tuples) | **GET** /relation-tuples | Query relation tuples *OryClient::ReadApi* | [**post_check**](docs/ReadApi.md#post_check) | **POST** /relation-tuples/check/openapi | Check a relation tuple *OryClient::ReadApi* | [**post_check_mirror_status**](docs/ReadApi.md#post_check_mirror_status) | **POST** /relation-tuples/check | Check a relation tuple +*OryClient::V0alpha2Api* | [**admin_accept_o_auth2_consent_request**](docs/V0alpha2Api.md#admin_accept_o_auth2_consent_request) | **PUT** /admin/oauth2/auth/requests/consent/accept | Accept an OAuth 2.0 Consent Request +*OryClient::V0alpha2Api* | [**admin_accept_o_auth2_login_request**](docs/V0alpha2Api.md#admin_accept_o_auth2_login_request) | **PUT** /admin/oauth2/auth/requests/login/accept | Accept an OAuth 2.0 Login Request +*OryClient::V0alpha2Api* | [**admin_accept_o_auth2_logout_request**](docs/V0alpha2Api.md#admin_accept_o_auth2_logout_request) | **PUT** /admin/oauth2/auth/requests/logout/accept | Accept an OAuth 2.0 Logout Request *OryClient::V0alpha2Api* | [**admin_create_identity**](docs/V0alpha2Api.md#admin_create_identity) | **POST** /admin/identities | Create an Identity +*OryClient::V0alpha2Api* | [**admin_create_json_web_key_set**](docs/V0alpha2Api.md#admin_create_json_web_key_set) | **POST** /admin/keys/{set} | Generate a New JSON Web Key +*OryClient::V0alpha2Api* | [**admin_create_o_auth2_client**](docs/V0alpha2Api.md#admin_create_o_auth2_client) | **POST** /admin/clients | Create an OAuth 2.0 Client *OryClient::V0alpha2Api* | [**admin_create_self_service_recovery_link**](docs/V0alpha2Api.md#admin_create_self_service_recovery_link) | **POST** /admin/recovery/link | Create a Recovery Link *OryClient::V0alpha2Api* | [**admin_delete_identity**](docs/V0alpha2Api.md#admin_delete_identity) | **DELETE** /admin/identities/{id} | Delete an Identity *OryClient::V0alpha2Api* | [**admin_delete_identity_sessions**](docs/V0alpha2Api.md#admin_delete_identity_sessions) | **DELETE** /admin/identities/{id}/sessions | Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity. +*OryClient::V0alpha2Api* | [**admin_delete_json_web_key**](docs/V0alpha2Api.md#admin_delete_json_web_key) | **DELETE** /admin/keys/{set}/{kid} | Delete a JSON Web Key +*OryClient::V0alpha2Api* | [**admin_delete_json_web_key_set**](docs/V0alpha2Api.md#admin_delete_json_web_key_set) | **DELETE** /admin/keys/{set} | Delete a JSON Web Key Set +*OryClient::V0alpha2Api* | [**admin_delete_o_auth2_client**](docs/V0alpha2Api.md#admin_delete_o_auth2_client) | **DELETE** /admin/clients/{id} | Deletes an OAuth 2.0 Client +*OryClient::V0alpha2Api* | [**admin_delete_o_auth2_token**](docs/V0alpha2Api.md#admin_delete_o_auth2_token) | **DELETE** /admin/oauth2/tokens | Delete OAuth2 Access Tokens from a Client +*OryClient::V0alpha2Api* | [**admin_delete_trusted_o_auth2_jwt_grant_issuer**](docs/V0alpha2Api.md#admin_delete_trusted_o_auth2_jwt_grant_issuer) | **DELETE** /admin/trust/grants/jwt-bearer/issuers/{id} | Delete a Trusted OAuth2 JWT Bearer Grant Type Issuer *OryClient::V0alpha2Api* | [**admin_extend_session**](docs/V0alpha2Api.md#admin_extend_session) | **PATCH** /admin/sessions/{id}/extend | Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed. *OryClient::V0alpha2Api* | [**admin_get_identity**](docs/V0alpha2Api.md#admin_get_identity) | **GET** /admin/identities/{id} | Get an Identity +*OryClient::V0alpha2Api* | [**admin_get_json_web_key**](docs/V0alpha2Api.md#admin_get_json_web_key) | **GET** /admin/keys/{set}/{kid} | Fetch a JSON Web Key +*OryClient::V0alpha2Api* | [**admin_get_json_web_key_set**](docs/V0alpha2Api.md#admin_get_json_web_key_set) | **GET** /admin/keys/{set} | Retrieve a JSON Web Key Set +*OryClient::V0alpha2Api* | [**admin_get_o_auth2_client**](docs/V0alpha2Api.md#admin_get_o_auth2_client) | **GET** /admin/clients/{id} | Get an OAuth 2.0 Client +*OryClient::V0alpha2Api* | [**admin_get_o_auth2_consent_request**](docs/V0alpha2Api.md#admin_get_o_auth2_consent_request) | **GET** /admin/oauth2/auth/requests/consent | Get OAuth 2.0 Consent Request Information +*OryClient::V0alpha2Api* | [**admin_get_o_auth2_login_request**](docs/V0alpha2Api.md#admin_get_o_auth2_login_request) | **GET** /admin/oauth2/auth/requests/login | Get an OAuth 2.0 Login Request +*OryClient::V0alpha2Api* | [**admin_get_o_auth2_logout_request**](docs/V0alpha2Api.md#admin_get_o_auth2_logout_request) | **GET** /admin/oauth2/auth/requests/logout | Get an OAuth 2.0 Logout Request +*OryClient::V0alpha2Api* | [**admin_get_trusted_o_auth2_jwt_grant_issuer**](docs/V0alpha2Api.md#admin_get_trusted_o_auth2_jwt_grant_issuer) | **GET** /admin/trust/grants/jwt-bearer/issuers/{id} | Get a Trusted OAuth2 JWT Bearer Grant Type Issuer +*OryClient::V0alpha2Api* | [**admin_introspect_o_auth2_token**](docs/V0alpha2Api.md#admin_introspect_o_auth2_token) | **POST** /admin/oauth2/introspect | Introspect OAuth2 Access or Refresh Tokens *OryClient::V0alpha2Api* | [**admin_list_identities**](docs/V0alpha2Api.md#admin_list_identities) | **GET** /admin/identities | List Identities *OryClient::V0alpha2Api* | [**admin_list_identity_sessions**](docs/V0alpha2Api.md#admin_list_identity_sessions) | **GET** /admin/identities/{id}/sessions | This endpoint returns all sessions that belong to the given Identity. +*OryClient::V0alpha2Api* | [**admin_list_o_auth2_clients**](docs/V0alpha2Api.md#admin_list_o_auth2_clients) | **GET** /admin/clients | List OAuth 2.0 Clients +*OryClient::V0alpha2Api* | [**admin_list_o_auth2_subject_consent_sessions**](docs/V0alpha2Api.md#admin_list_o_auth2_subject_consent_sessions) | **GET** /admin/oauth2/auth/sessions/consent | List OAuth 2.0 Consent Sessions of a Subject +*OryClient::V0alpha2Api* | [**admin_list_trusted_o_auth2_jwt_grant_issuers**](docs/V0alpha2Api.md#admin_list_trusted_o_auth2_jwt_grant_issuers) | **GET** /admin/trust/grants/jwt-bearer/issuers | List Trusted OAuth2 JWT Bearer Grant Type Issuers *OryClient::V0alpha2Api* | [**admin_patch_identity**](docs/V0alpha2Api.md#admin_patch_identity) | **PATCH** /admin/identities/{id} | Partially updates an Identity's field using [JSON Patch](https://jsonpatch.com/) +*OryClient::V0alpha2Api* | [**admin_patch_o_auth2_client**](docs/V0alpha2Api.md#admin_patch_o_auth2_client) | **PATCH** /admin/clients/{id} | Patch an OAuth 2.0 Client +*OryClient::V0alpha2Api* | [**admin_reject_o_auth2_consent_request**](docs/V0alpha2Api.md#admin_reject_o_auth2_consent_request) | **PUT** /admin/oauth2/auth/requests/consent/reject | Reject an OAuth 2.0 Consent Request +*OryClient::V0alpha2Api* | [**admin_reject_o_auth2_login_request**](docs/V0alpha2Api.md#admin_reject_o_auth2_login_request) | **PUT** /admin/oauth2/auth/requests/login/reject | Reject an OAuth 2.0 Login Request +*OryClient::V0alpha2Api* | [**admin_reject_o_auth2_logout_request**](docs/V0alpha2Api.md#admin_reject_o_auth2_logout_request) | **PUT** /admin/oauth2/auth/requests/logout/reject | Reject an OAuth 2.0 Logout Request +*OryClient::V0alpha2Api* | [**admin_revoke_o_auth2_consent_sessions**](docs/V0alpha2Api.md#admin_revoke_o_auth2_consent_sessions) | **DELETE** /admin/oauth2/auth/sessions/consent | Revokes OAuth 2.0 Consent Sessions of a Subject for a Specific OAuth 2.0 Client +*OryClient::V0alpha2Api* | [**admin_revoke_o_auth2_login_sessions**](docs/V0alpha2Api.md#admin_revoke_o_auth2_login_sessions) | **DELETE** /admin/oauth2/auth/sessions/login | Invalidates All OAuth 2.0 Login Sessions of a Certain User +*OryClient::V0alpha2Api* | [**admin_trust_o_auth2_jwt_grant_issuer**](docs/V0alpha2Api.md#admin_trust_o_auth2_jwt_grant_issuer) | **POST** /admin/trust/grants/jwt-bearer/issuers | Trust an OAuth2 JWT Bearer Grant Type Issuer *OryClient::V0alpha2Api* | [**admin_update_identity**](docs/V0alpha2Api.md#admin_update_identity) | **PUT** /admin/identities/{id} | Update an Identity +*OryClient::V0alpha2Api* | [**admin_update_json_web_key**](docs/V0alpha2Api.md#admin_update_json_web_key) | **PUT** /admin/keys/{set}/{kid} | Update a JSON Web Key +*OryClient::V0alpha2Api* | [**admin_update_json_web_key_set**](docs/V0alpha2Api.md#admin_update_json_web_key_set) | **PUT** /admin/keys/{set} | Update a JSON Web Key Set +*OryClient::V0alpha2Api* | [**admin_update_o_auth2_client**](docs/V0alpha2Api.md#admin_update_o_auth2_client) | **PUT** /admin/clients/{id} | Update an OAuth 2.0 Client *OryClient::V0alpha2Api* | [**create_project**](docs/V0alpha2Api.md#create_project) | **POST** /projects | Create a Project *OryClient::V0alpha2Api* | [**create_self_service_logout_flow_url_for_browsers**](docs/V0alpha2Api.md#create_self_service_logout_flow_url_for_browsers) | **GET** /self-service/logout/browser | Create a Logout URL for Browsers +*OryClient::V0alpha2Api* | [**discover_json_web_keys**](docs/V0alpha2Api.md#discover_json_web_keys) | **GET** /.well-known/jwks.json | Discover JSON Web Keys +*OryClient::V0alpha2Api* | [**discover_oidc_configuration**](docs/V0alpha2Api.md#discover_oidc_configuration) | **GET** /.well-known/openid-configuration | OpenID Connect Discovery +*OryClient::V0alpha2Api* | [**dynamic_client_registration_create_o_auth2_client**](docs/V0alpha2Api.md#dynamic_client_registration_create_o_auth2_client) | **POST** /oauth2/register | Register an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol +*OryClient::V0alpha2Api* | [**dynamic_client_registration_delete_o_auth2_client**](docs/V0alpha2Api.md#dynamic_client_registration_delete_o_auth2_client) | **DELETE** /oauth2/register/{id} | Deletes an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol +*OryClient::V0alpha2Api* | [**dynamic_client_registration_get_o_auth2_client**](docs/V0alpha2Api.md#dynamic_client_registration_get_o_auth2_client) | **GET** /oauth2/register/{id} | Get an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol +*OryClient::V0alpha2Api* | [**dynamic_client_registration_update_o_auth2_client**](docs/V0alpha2Api.md#dynamic_client_registration_update_o_auth2_client) | **PUT** /oauth2/register/{id} | Update an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol *OryClient::V0alpha2Api* | [**get_identity_schema**](docs/V0alpha2Api.md#get_identity_schema) | **GET** /schemas/{id} | +*OryClient::V0alpha2Api* | [**get_oidc_user_info**](docs/V0alpha2Api.md#get_oidc_user_info) | **GET** /userinfo | OpenID Connect Userinfo *OryClient::V0alpha2Api* | [**get_project**](docs/V0alpha2Api.md#get_project) | **GET** /projects/{project_id} | Get a Project *OryClient::V0alpha2Api* | [**get_project_members**](docs/V0alpha2Api.md#get_project_members) | **GET** /projects/{project_id}/members | Get all members associated with this project. *OryClient::V0alpha2Api* | [**get_self_service_error**](docs/V0alpha2Api.md#get_self_service_error) | **GET** /self-service/errors | Get Self-Service Errors *OryClient::V0alpha2Api* | [**get_self_service_login_flow**](docs/V0alpha2Api.md#get_self_service_login_flow) | **GET** /self-service/login/flows | Get Login Flow *OryClient::V0alpha2Api* | [**get_self_service_recovery_flow**](docs/V0alpha2Api.md#get_self_service_recovery_flow) | **GET** /self-service/recovery/flows | Get Recovery Flow @@ -125,12 +161,16 @@ *OryClient::V0alpha2Api* | [**initialize_self_service_verification_flow_without_browser**](docs/V0alpha2Api.md#initialize_self_service_verification_flow_without_browser) | **GET** /self-service/verification/api | Initialize Verification Flow for APIs, Services, Apps, ... *OryClient::V0alpha2Api* | [**list_identity_schemas**](docs/V0alpha2Api.md#list_identity_schemas) | **GET** /schemas | *OryClient::V0alpha2Api* | [**list_projects**](docs/V0alpha2Api.md#list_projects) | **GET** /projects | List All Projects *OryClient::V0alpha2Api* | [**list_sessions**](docs/V0alpha2Api.md#list_sessions) | **GET** /sessions | This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint. *OryClient::V0alpha2Api* | [**patch_project**](docs/V0alpha2Api.md#patch_project) | **PATCH** /projects/{project_id} | Patch an Ory Cloud Project Configuration` +*OryClient::V0alpha2Api* | [**perform_o_auth2_authorization_flow**](docs/V0alpha2Api.md#perform_o_auth2_authorization_flow) | **GET** /oauth2/auth | The OAuth 2.0 Authorize Endpoint +*OryClient::V0alpha2Api* | [**perform_o_auth2_token_flow**](docs/V0alpha2Api.md#perform_o_auth2_token_flow) | **POST** /oauth2/token | The OAuth 2.0 Token Endpoint +*OryClient::V0alpha2Api* | [**perform_oidc_front_or_back_channel_logout**](docs/V0alpha2Api.md#perform_oidc_front_or_back_channel_logout) | **GET** /oauth2/sessions/logout | OpenID Connect Front- or Back-channel Enabled Logout *OryClient::V0alpha2Api* | [**purge_project**](docs/V0alpha2Api.md#purge_project) | **DELETE** /projects/{project_id} | Irrecoverably Purge a Project *OryClient::V0alpha2Api* | [**remove_project_member**](docs/V0alpha2Api.md#remove_project_member) | **DELETE** /projects/{project_id}/members/{member_id} | Remove a member associated with this project. This also sets their invite status to `REMOVED`. +*OryClient::V0alpha2Api* | [**revoke_o_auth2_token**](docs/V0alpha2Api.md#revoke_o_auth2_token) | **POST** /oauth2/revoke | Revoke an OAuth2 Access or Refresh Token *OryClient::V0alpha2Api* | [**revoke_session**](docs/V0alpha2Api.md#revoke_session) | **DELETE** /sessions/{id} | Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted. *OryClient::V0alpha2Api* | [**revoke_sessions**](docs/V0alpha2Api.md#revoke_sessions) | **DELETE** /sessions | Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted. *OryClient::V0alpha2Api* | [**submit_self_service_login_flow**](docs/V0alpha2Api.md#submit_self_service_login_flow) | **POST** /self-service/login | Submit a Login Flow *OryClient::V0alpha2Api* | [**submit_self_service_logout_flow**](docs/V0alpha2Api.md#submit_self_service_logout_flow) | **GET** /self-service/logout | Complete Self-Service Logout *OryClient::V0alpha2Api* | [**submit_self_service_logout_flow_without_browser**](docs/V0alpha2Api.md#submit_self_service_logout_flow_without_browser) | **DELETE** /self-service/logout/api | Perform Logout for APIs, Services, Apps, ... @@ -145,19 +185,24 @@ *OryClient::WriteApi* | [**patch_relation_tuples**](docs/WriteApi.md#patch_relation_tuples) | **PATCH** /admin/relation-tuples | Patch Multiple Relation Tuples ## Documentation for Models + - [OryClient::AcceptOAuth2ConsentRequest](docs/AcceptOAuth2ConsentRequest.md) + - [OryClient::AcceptOAuth2ConsentRequestSession](docs/AcceptOAuth2ConsentRequestSession.md) + - [OryClient::AcceptOAuth2LoginRequest](docs/AcceptOAuth2LoginRequest.md) - [OryClient::ActiveProject](docs/ActiveProject.md) - [OryClient::AdminCreateIdentityBody](docs/AdminCreateIdentityBody.md) - [OryClient::AdminCreateIdentityImportCredentialsOidc](docs/AdminCreateIdentityImportCredentialsOidc.md) - [OryClient::AdminCreateIdentityImportCredentialsOidcConfig](docs/AdminCreateIdentityImportCredentialsOidcConfig.md) - [OryClient::AdminCreateIdentityImportCredentialsOidcProvider](docs/AdminCreateIdentityImportCredentialsOidcProvider.md) - [OryClient::AdminCreateIdentityImportCredentialsPassword](docs/AdminCreateIdentityImportCredentialsPassword.md) - [OryClient::AdminCreateIdentityImportCredentialsPasswordConfig](docs/AdminCreateIdentityImportCredentialsPasswordConfig.md) + - [OryClient::AdminCreateJsonWebKeySetBody](docs/AdminCreateJsonWebKeySetBody.md) - [OryClient::AdminCreateSelfServiceRecoveryLinkBody](docs/AdminCreateSelfServiceRecoveryLinkBody.md) - [OryClient::AdminIdentityImportCredentials](docs/AdminIdentityImportCredentials.md) + - [OryClient::AdminTrustOAuth2JwtGrantIssuerBody](docs/AdminTrustOAuth2JwtGrantIssuerBody.md) - [OryClient::AdminUpdateIdentityBody](docs/AdminUpdateIdentityBody.md) - [OryClient::ApiToken](docs/ApiToken.md) - [OryClient::AuthenticatorAssuranceLevel](docs/AuthenticatorAssuranceLevel.md) - [OryClient::CloudAccount](docs/CloudAccount.md) - [OryClient::CnameSettings](docs/CnameSettings.md) @@ -167,55 +212,80 @@ - [OryClient::ErrorAuthenticatorAssuranceLevelNotSatisfied](docs/ErrorAuthenticatorAssuranceLevelNotSatisfied.md) - [OryClient::ExpandTree](docs/ExpandTree.md) - [OryClient::GenericError](docs/GenericError.md) - [OryClient::GenericErrorContent](docs/GenericErrorContent.md) - [OryClient::GetCheckResponse](docs/GetCheckResponse.md) + - [OryClient::GetManagedIdentitySchemaLocation](docs/GetManagedIdentitySchemaLocation.md) - [OryClient::GetRelationTuplesResponse](docs/GetRelationTuplesResponse.md) - [OryClient::GetVersion200Response](docs/GetVersion200Response.md) + - [OryClient::HandledOAuth2ConsentRequest](docs/HandledOAuth2ConsentRequest.md) + - [OryClient::HandledOAuth2LoginRequest](docs/HandledOAuth2LoginRequest.md) + - [OryClient::HandledOAuth2LogoutRequest](docs/HandledOAuth2LogoutRequest.md) + - [OryClient::Headers](docs/Headers.md) - [OryClient::HealthNotReadyStatus](docs/HealthNotReadyStatus.md) - [OryClient::HealthStatus](docs/HealthStatus.md) + - [OryClient::IDTokenClaims](docs/IDTokenClaims.md) - [OryClient::Identity](docs/Identity.md) - [OryClient::IdentityCredentials](docs/IdentityCredentials.md) - [OryClient::IdentityCredentialsOidc](docs/IdentityCredentialsOidc.md) - [OryClient::IdentityCredentialsOidcProvider](docs/IdentityCredentialsOidcProvider.md) - [OryClient::IdentityCredentialsPassword](docs/IdentityCredentialsPassword.md) - [OryClient::IdentityCredentialsType](docs/IdentityCredentialsType.md) - - [OryClient::IdentitySchema](docs/IdentitySchema.md) - [OryClient::IdentitySchemaContainer](docs/IdentitySchemaContainer.md) - - [OryClient::IdentitySchemaLocation](docs/IdentitySchemaLocation.md) - [OryClient::IdentitySchemaPreset](docs/IdentitySchemaPreset.md) - - [OryClient::IdentitySchemaValidationResult](docs/IdentitySchemaValidationResult.md) - [OryClient::IdentityState](docs/IdentityState.md) - [OryClient::InternalRelationTuple](docs/InternalRelationTuple.md) + - [OryClient::IntrospectedOAuth2Token](docs/IntrospectedOAuth2Token.md) - [OryClient::InvitePayload](docs/InvitePayload.md) - - [OryClient::IsAlive200Response](docs/IsAlive200Response.md) - [OryClient::IsOwnerForProjectBySlug](docs/IsOwnerForProjectBySlug.md) - [OryClient::IsOwnerForProjectBySlugPayload](docs/IsOwnerForProjectBySlugPayload.md) + - [OryClient::IsReady200Response](docs/IsReady200Response.md) - [OryClient::IsReady503Response](docs/IsReady503Response.md) - [OryClient::JsonError](docs/JsonError.md) - [OryClient::JsonPatch](docs/JsonPatch.md) + - [OryClient::JsonWebKey](docs/JsonWebKey.md) + - [OryClient::JsonWebKeySet](docs/JsonWebKeySet.md) - [OryClient::KetoNamespace](docs/KetoNamespace.md) + - [OryClient::ManagedIdentitySchema](docs/ManagedIdentitySchema.md) + - [OryClient::ManagedIdentitySchemaValidationResult](docs/ManagedIdentitySchemaValidationResult.md) - [OryClient::NeedsPrivilegedSessionError](docs/NeedsPrivilegedSessionError.md) - [OryClient::NormalizedProject](docs/NormalizedProject.md) - [OryClient::NormalizedProjectRevision](docs/NormalizedProjectRevision.md) - [OryClient::NormalizedProjectRevisionHook](docs/NormalizedProjectRevisionHook.md) - [OryClient::NormalizedProjectRevisionIdentitySchema](docs/NormalizedProjectRevisionIdentitySchema.md) - [OryClient::NormalizedProjectRevisionThirdPartyProvider](docs/NormalizedProjectRevisionThirdPartyProvider.md) - [OryClient::NullPlan](docs/NullPlan.md) + - [OryClient::OAuth2AccessRequest](docs/OAuth2AccessRequest.md) + - [OryClient::OAuth2ApiError](docs/OAuth2ApiError.md) + - [OryClient::OAuth2Client](docs/OAuth2Client.md) + - [OryClient::OAuth2ConsentRequest](docs/OAuth2ConsentRequest.md) + - [OryClient::OAuth2ConsentRequestOpenIDConnectContext](docs/OAuth2ConsentRequestOpenIDConnectContext.md) + - [OryClient::OAuth2ConsentSession](docs/OAuth2ConsentSession.md) + - [OryClient::OAuth2LoginRequest](docs/OAuth2LoginRequest.md) + - [OryClient::OAuth2LogoutRequest](docs/OAuth2LogoutRequest.md) + - [OryClient::OAuth2TokenResponse](docs/OAuth2TokenResponse.md) + - [OryClient::OidcConfiguration](docs/OidcConfiguration.md) + - [OryClient::OidcUserInfo](docs/OidcUserInfo.md) - [OryClient::Pagination](docs/Pagination.md) + - [OryClient::PaginationHeaders](docs/PaginationHeaders.md) - [OryClient::PatchDelta](docs/PatchDelta.md) + - [OryClient::PreviousOAuth2ConsentSession](docs/PreviousOAuth2ConsentSession.md) - [OryClient::Project](docs/Project.md) - [OryClient::ProjectHost](docs/ProjectHost.md) - [OryClient::ProjectInvite](docs/ProjectInvite.md) - [OryClient::ProjectMetadata](docs/ProjectMetadata.md) - [OryClient::ProjectServiceIdentity](docs/ProjectServiceIdentity.md) + - [OryClient::ProjectServiceOAuth2](docs/ProjectServiceOAuth2.md) - [OryClient::ProjectServicePermission](docs/ProjectServicePermission.md) - [OryClient::ProjectServices](docs/ProjectServices.md) - [OryClient::ProvisionMockSubscriptionPayload](docs/ProvisionMockSubscriptionPayload.md) - [OryClient::QuotaCustomDomains](docs/QuotaCustomDomains.md) - [OryClient::QuotaProjectMemberSeats](docs/QuotaProjectMemberSeats.md) - [OryClient::RecoveryAddress](docs/RecoveryAddress.md) + - [OryClient::RefreshTokenHookRequest](docs/RefreshTokenHookRequest.md) + - [OryClient::RefreshTokenHookResponse](docs/RefreshTokenHookResponse.md) + - [OryClient::RejectOAuth2Request](docs/RejectOAuth2Request.md) - [OryClient::RelationQuery](docs/RelationQuery.md) - [OryClient::RevokedSessions](docs/RevokedSessions.md) - [OryClient::SchemaPatch](docs/SchemaPatch.md) - [OryClient::SelfServiceBrowserLocationChangeRequiredError](docs/SelfServiceBrowserLocationChangeRequiredError.md) - [OryClient::SelfServiceError](docs/SelfServiceError.md) @@ -258,15 +328,18 @@ - [OryClient::SubmitSelfServiceSettingsFlowWithTotpMethodBody](docs/SubmitSelfServiceSettingsFlowWithTotpMethodBody.md) - [OryClient::SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody](docs/SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody.md) - [OryClient::SubmitSelfServiceVerificationFlowBody](docs/SubmitSelfServiceVerificationFlowBody.md) - [OryClient::SubmitSelfServiceVerificationFlowWithLinkMethodBody](docs/SubmitSelfServiceVerificationFlowWithLinkMethodBody.md) - [OryClient::Subscription](docs/Subscription.md) + - [OryClient::SuccessfulOAuth2RequestResponse](docs/SuccessfulOAuth2RequestResponse.md) - [OryClient::SuccessfulProjectUpdate](docs/SuccessfulProjectUpdate.md) - [OryClient::SuccessfulSelfServiceLoginWithoutBrowser](docs/SuccessfulSelfServiceLoginWithoutBrowser.md) - [OryClient::SuccessfulSelfServiceRegistrationWithoutBrowser](docs/SuccessfulSelfServiceRegistrationWithoutBrowser.md) - [OryClient::TokenPagination](docs/TokenPagination.md) - [OryClient::TokenPaginationHeaders](docs/TokenPaginationHeaders.md) + - [OryClient::TrustedOAuth2JwtGrantIssuer](docs/TrustedOAuth2JwtGrantIssuer.md) + - [OryClient::TrustedOAuth2JwtGrantJsonWebKey](docs/TrustedOAuth2JwtGrantJsonWebKey.md) - [OryClient::UiContainer](docs/UiContainer.md) - [OryClient::UiNode](docs/UiNode.md) - [OryClient::UiNodeAnchorAttributes](docs/UiNodeAnchorAttributes.md) - [OryClient::UiNodeAttributes](docs/UiNodeAttributes.md) - [OryClient::UiNodeImageAttributes](docs/UiNodeImageAttributes.md) @@ -274,18 +347,38 @@ - [OryClient::UiNodeMeta](docs/UiNodeMeta.md) - [OryClient::UiNodeScriptAttributes](docs/UiNodeScriptAttributes.md) - [OryClient::UiNodeTextAttributes](docs/UiNodeTextAttributes.md) - [OryClient::UiText](docs/UiText.md) - [OryClient::UpdateCustomHostnameBody](docs/UpdateCustomHostnameBody.md) + - [OryClient::UpdateOAuth2ClientLifespans](docs/UpdateOAuth2ClientLifespans.md) - [OryClient::UpdateProject](docs/UpdateProject.md) - [OryClient::UpdateSubscriptionPayload](docs/UpdateSubscriptionPayload.md) - [OryClient::VerifiableIdentityAddress](docs/VerifiableIdentityAddress.md) - [OryClient::Version](docs/Version.md) - [OryClient::Warning](docs/Warning.md) ## Documentation for Authorization + +### basic + +- **Type**: HTTP basic authentication + +### bearer + +- **Type**: Bearer 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 ### oryAccessToken - **Type**: Bearer authentication