Skip to content

Commit

Permalink
chore: regenerate OpenAPI client v2.2.0-rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 14, 2023
1 parent 185e714 commit a905416
Show file tree
Hide file tree
Showing 858 changed files with 34,798 additions and 5,523 deletions.
18 changes: 18 additions & 0 deletions clients/hydra/dart/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ doc/AcceptOAuth2ConsentRequest.md
doc/AcceptOAuth2ConsentRequestSession.md
doc/AcceptOAuth2LoginRequest.md
doc/CreateJsonWebKeySet.md
doc/CreateVerifiableCredentialRequestBody.md
doc/CredentialSupportedDraft00.md
doc/ErrorOAuth2.md
doc/GenericError.md
doc/GetVersion200Response.md
Expand Down Expand Up @@ -35,6 +37,7 @@ doc/OidcConfiguration.md
doc/OidcUserInfo.md
doc/Pagination.md
doc/PaginationHeaders.md
doc/RFC6749ErrorJson.md
doc/RejectOAuth2Request.md
doc/TokenPagination.md
doc/TokenPaginationHeaders.md
Expand All @@ -43,6 +46,9 @@ doc/TokenPaginationResponseHeaders.md
doc/TrustOAuth2JwtGrantIssuer.md
doc/TrustedOAuth2JwtGrantIssuer.md
doc/TrustedOAuth2JwtGrantJsonWebKey.md
doc/VerifiableCredentialPrimingResponse.md
doc/VerifiableCredentialProof.md
doc/VerifiableCredentialResponse.md
doc/Version.md
doc/WellknownApi.md
lib/ory_hydra_client.dart
Expand All @@ -63,6 +69,8 @@ lib/src/model/accept_o_auth2_consent_request.dart
lib/src/model/accept_o_auth2_consent_request_session.dart
lib/src/model/accept_o_auth2_login_request.dart
lib/src/model/create_json_web_key_set.dart
lib/src/model/create_verifiable_credential_request_body.dart
lib/src/model/credential_supported_draft00.dart
lib/src/model/date.dart
lib/src/model/error_o_auth2.dart
lib/src/model/generic_error.dart
Expand Down Expand Up @@ -90,20 +98,26 @@ lib/src/model/oidc_user_info.dart
lib/src/model/pagination.dart
lib/src/model/pagination_headers.dart
lib/src/model/reject_o_auth2_request.dart
lib/src/model/rfc6749_error_json.dart
lib/src/model/token_pagination.dart
lib/src/model/token_pagination_headers.dart
lib/src/model/token_pagination_request_parameters.dart
lib/src/model/token_pagination_response_headers.dart
lib/src/model/trust_o_auth2_jwt_grant_issuer.dart
lib/src/model/trusted_o_auth2_jwt_grant_issuer.dart
lib/src/model/trusted_o_auth2_jwt_grant_json_web_key.dart
lib/src/model/verifiable_credential_priming_response.dart
lib/src/model/verifiable_credential_proof.dart
lib/src/model/verifiable_credential_response.dart
lib/src/model/version.dart
lib/src/serializers.dart
pubspec.yaml
test/accept_o_auth2_consent_request_session_test.dart
test/accept_o_auth2_consent_request_test.dart
test/accept_o_auth2_login_request_test.dart
test/create_json_web_key_set_test.dart
test/create_verifiable_credential_request_body_test.dart
test/credential_supported_draft00_test.dart
test/error_o_auth2_test.dart
test/generic_error_test.dart
test/get_version200_response_test.dart
Expand Down Expand Up @@ -134,12 +148,16 @@ test/oidc_user_info_test.dart
test/pagination_headers_test.dart
test/pagination_test.dart
test/reject_o_auth2_request_test.dart
test/rfc6749_error_json_test.dart
test/token_pagination_headers_test.dart
test/token_pagination_request_parameters_test.dart
test/token_pagination_response_headers_test.dart
test/token_pagination_test.dart
test/trust_o_auth2_jwt_grant_issuer_test.dart
test/trusted_o_auth2_jwt_grant_issuer_test.dart
test/trusted_o_auth2_jwt_grant_json_web_key_test.dart
test/verifiable_credential_priming_response_test.dart
test/verifiable_credential_proof_test.dart
test/verifiable_credential_response_test.dart
test/version_test.dart
test/wellknown_api_test.dart
2 changes: 1 addition & 1 deletion clients/hydra/dart/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.1.0
6.6.0
22 changes: 15 additions & 7 deletions clients/hydra/dart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ Documentation for all of Ory Hydra's APIs.

This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: v2.1.1
- API version: v2.2.0-rc.3
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen

## Requirements

* Dart 2.12.0 or later OR Flutter 1.26.0 or later
* Dio 4.0.0+
* Dart 2.15.0+ or Flutter 2.8.0+
* Dio 5.0.0+ (https://pub.dev/packages/dio)

## Installation & Usage

### pub.dev
To use the package from [pub.dev](https://pub.dev), please include the following in pubspec.yaml
```yaml
dependencies:
ory_hydra_client: 2.1.1
ory_hydra_client: 2.2.0-rc.3
```
### Github
Expand Down Expand Up @@ -105,6 +105,7 @@ Class | Method | HTTP request | Description
[*OAuth2Api*](doc/OAuth2Api.md) | [**setOAuth2ClientLifespans**](doc/OAuth2Api.md#setoauth2clientlifespans) | **PUT** /admin/clients/{id}/lifespans | Set OAuth2 Client Token Lifespans
[*OAuth2Api*](doc/OAuth2Api.md) | [**trustOAuth2JwtGrantIssuer**](doc/OAuth2Api.md#trustoauth2jwtgrantissuer) | **POST** /admin/trust/grants/jwt-bearer/issuers | Trust OAuth2 JWT Bearer Grant Type Issuer
[*OidcApi*](doc/OidcApi.md) | [**createOidcDynamicClient**](doc/OidcApi.md#createoidcdynamicclient) | **POST** /oauth2/register | Register OAuth2 Client using OpenID Dynamic Client Registration
[*OidcApi*](doc/OidcApi.md) | [**createVerifiableCredential**](doc/OidcApi.md#createverifiablecredential) | **POST** /credentials | Issues a Verifiable Credential
[*OidcApi*](doc/OidcApi.md) | [**deleteOidcDynamicClient**](doc/OidcApi.md#deleteoidcdynamicclient) | **DELETE** /oauth2/register/{id} | Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol
[*OidcApi*](doc/OidcApi.md) | [**discoverOidcConfiguration**](doc/OidcApi.md#discoveroidcconfiguration) | **GET** /.well-known/openid-configuration | OpenID Connect Discovery
[*OidcApi*](doc/OidcApi.md) | [**getOidcDynamicClient**](doc/OidcApi.md#getoidcdynamicclient) | **GET** /oauth2/register/{id} | Get OAuth2 Client using OpenID Dynamic Client Registration
Expand All @@ -120,6 +121,8 @@ Class | Method | HTTP request | Description
- [AcceptOAuth2ConsentRequestSession](doc/AcceptOAuth2ConsentRequestSession.md)
- [AcceptOAuth2LoginRequest](doc/AcceptOAuth2LoginRequest.md)
- [CreateJsonWebKeySet](doc/CreateJsonWebKeySet.md)
- [CreateVerifiableCredentialRequestBody](doc/CreateVerifiableCredentialRequestBody.md)
- [CredentialSupportedDraft00](doc/CredentialSupportedDraft00.md)
- [ErrorOAuth2](doc/ErrorOAuth2.md)
- [GenericError](doc/GenericError.md)
- [GetVersion200Response](doc/GetVersion200Response.md)
Expand All @@ -145,6 +148,7 @@ Class | Method | HTTP request | Description
- [OidcUserInfo](doc/OidcUserInfo.md)
- [Pagination](doc/Pagination.md)
- [PaginationHeaders](doc/PaginationHeaders.md)
- [RFC6749ErrorJson](doc/RFC6749ErrorJson.md)
- [RejectOAuth2Request](doc/RejectOAuth2Request.md)
- [TokenPagination](doc/TokenPagination.md)
- [TokenPaginationHeaders](doc/TokenPaginationHeaders.md)
Expand All @@ -153,21 +157,25 @@ Class | Method | HTTP request | Description
- [TrustOAuth2JwtGrantIssuer](doc/TrustOAuth2JwtGrantIssuer.md)
- [TrustedOAuth2JwtGrantIssuer](doc/TrustedOAuth2JwtGrantIssuer.md)
- [TrustedOAuth2JwtGrantJsonWebKey](doc/TrustedOAuth2JwtGrantJsonWebKey.md)
- [VerifiableCredentialPrimingResponse](doc/VerifiableCredentialPrimingResponse.md)
- [VerifiableCredentialProof](doc/VerifiableCredentialProof.md)
- [VerifiableCredentialResponse](doc/VerifiableCredentialResponse.md)
- [Version](doc/Version.md)


## Documentation For Authorization


## basic
Authentication schemes defined for the API:
### basic

- **Type**: HTTP basic authentication

## bearer
### bearer

- **Type**: HTTP basic authentication

## oauth2
### oauth2

- **Type**: OAuth
- **Flow**: accessCode
Expand Down
2 changes: 2 additions & 0 deletions clients/hydra/dart/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ analyzer:
implicit-casts: false
exclude:
- test/*.dart
errors:
deprecated_member_use_from_same_package: ignore
1 change: 1 addition & 0 deletions clients/hydra/dart/doc/AcceptOAuth2LoginRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Name | Type | Description | Notes
**context** | [**JsonObject**](.md) | | [optional]
**extendSessionLifespan** | **bool** | Extend OAuth2 authentication session lifespan If set to `true`, the OAuth2 authentication cookie lifespan is extended. This is for example useful if you want the user to be able to use `prompt=none` continuously. This value can only be set to `true` if the user has an authentication, which is the case if the `skip` value is `true`. | [optional]
**forceSubjectIdentifier** | **String** | ForceSubjectIdentifier forces the \"pairwise\" user ID of the end-user that authenticated. The \"pairwise\" user ID refers to the (Pairwise Identifier Algorithm)[http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg] of the OpenID Connect specification. It allows you to set an obfuscated subject (\"user\") identifier that is unique to the client. Please note that this changes the user ID on endpoint /userinfo and sub claim of the ID Token. It does not change the sub claim in the OAuth 2.0 Introspection. Per default, ORY Hydra handles this value with its own algorithm. In case you want to set this yourself you can use this field. Please note that setting this field has no effect if `pairwise` is not configured in ORY Hydra or the OAuth 2.0 Client does not expect a pairwise identifier (set via `subject_type` key in the client's configuration). Please also be aware that ORY Hydra is unable to properly compute this value during authentication. This implies that you have to compute this value on every authentication process (probably depending on the client ID or some other unique value). If you fail to compute the proper value, then authentication processes which have id_token_hint set might fail. | [optional]
**identityProviderSessionId** | **String** | IdentityProviderSessionID is the session ID of the end-user that authenticated. If specified, we will use this value to propagate the logout. | [optional]
**remember** | **bool** | Remember, if set to true, tells ORY Hydra to remember this user by telling the user agent (browser) to store a cookie with authentication data. If the same user performs another OAuth 2.0 Authorization Request, he/she will not be asked to log in again. | [optional]
**rememberFor** | **int** | RememberFor sets how long the authentication should be remembered for in seconds. If set to `0`, the authorization will be remembered for the duration of the browser session (using a session cookie). | [optional]
**subject** | **String** | Subject is the user ID of the end-user that authenticated. |
Expand Down
17 changes: 17 additions & 0 deletions clients/hydra/dart/doc/CreateVerifiableCredentialRequestBody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ory_hydra_client.model.CreateVerifiableCredentialRequestBody

## Load the model package
```dart
import 'package:ory_hydra_client/api.dart';
```

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**format** | **String** | | [optional]
**proof** | [**VerifiableCredentialProof**](VerifiableCredentialProof.md) | | [optional]
**types** | **BuiltList<String>** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


18 changes: 18 additions & 0 deletions clients/hydra/dart/doc/CredentialSupportedDraft00.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# ory_hydra_client.model.CredentialSupportedDraft00

## Load the model package
```dart
import 'package:ory_hydra_client/api.dart';
```

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cryptographicBindingMethodsSupported** | **BuiltList<String>** | OpenID Connect Verifiable Credentials Cryptographic Binding Methods Supported Contains a list of cryptographic binding methods supported for signing the proof. | [optional]
**cryptographicSuitesSupported** | **BuiltList<String>** | OpenID Connect Verifiable Credentials Cryptographic Suites Supported Contains a list of cryptographic suites methods supported for signing the proof. | [optional]
**format** | **String** | OpenID Connect Verifiable Credentials Format Contains the format that is supported by this authorization server. | [optional]
**types** | **BuiltList<String>** | OpenID Connect Verifiable Credentials Types Contains the types of verifiable credentials supported. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


44 changes: 44 additions & 0 deletions clients/hydra/dart/doc/OidcApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ All URIs are relative to *http://localhost*
Method | HTTP request | Description
------------- | ------------- | -------------
[**createOidcDynamicClient**](OidcApi.md#createoidcdynamicclient) | **POST** /oauth2/register | Register OAuth2 Client using OpenID Dynamic Client Registration
[**createVerifiableCredential**](OidcApi.md#createverifiablecredential) | **POST** /credentials | Issues a Verifiable Credential
[**deleteOidcDynamicClient**](OidcApi.md#deleteoidcdynamicclient) | **DELETE** /oauth2/register/{id} | Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol
[**discoverOidcConfiguration**](OidcApi.md#discoveroidcconfiguration) | **GET** /.well-known/openid-configuration | OpenID Connect Discovery
[**getOidcDynamicClient**](OidcApi.md#getoidcdynamicclient) | **GET** /oauth2/register/{id} | Get OAuth2 Client using OpenID Dynamic Client Registration
Expand Down Expand Up @@ -61,6 +62,49 @@ No authorization required

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **createVerifiableCredential**
> VerifiableCredentialResponse createVerifiableCredential(createVerifiableCredentialRequestBody)
Issues a Verifiable Credential

This endpoint creates a verifiable credential that attests that the user authenticated with the provided access token owns a certain public/private key pair. More information can be found at https://openid.net/specs/openid-connect-userinfo-vc-1_0.html.

### Example
```dart
import 'package:ory_hydra_client/api.dart';
final api = OryHydraClient().getOidcApi();
final CreateVerifiableCredentialRequestBody createVerifiableCredentialRequestBody = ; // CreateVerifiableCredentialRequestBody |
try {
final response = api.createVerifiableCredential(createVerifiableCredentialRequestBody);
print(response);
} catch on DioError (e) {
print('Exception when calling OidcApi->createVerifiableCredential: $e\n');
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**createVerifiableCredentialRequestBody** | [**CreateVerifiableCredentialRequestBody**](CreateVerifiableCredentialRequestBody.md)| | [optional]

### Return type

[**VerifiableCredentialResponse**](VerifiableCredentialResponse.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **deleteOidcDynamicClient**
> deleteOidcDynamicClient(id)
Expand Down
2 changes: 2 additions & 0 deletions clients/hydra/dart/doc/OidcConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Name | Type | Description | Notes
**claimsParameterSupported** | **bool** | OpenID Connect Claims Parameter Parameter Supported Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. | [optional]
**claimsSupported** | **BuiltList<String>** | OpenID Connect Supported Claims JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. | [optional]
**codeChallengeMethodsSupported** | **BuiltList<String>** | OAuth 2.0 PKCE Supported Code Challenge Methods JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server. | [optional]
**credentialsEndpointDraft00** | **String** | OpenID Connect Verifiable Credentials Endpoint Contains the URL of the Verifiable Credentials Endpoint. | [optional]
**credentialsSupportedDraft00** | [**BuiltList<CredentialSupportedDraft00>**](CredentialSupportedDraft00.md) | OpenID Connect Verifiable Credentials Supported JSON array containing a list of the Verifiable Credentials supported by this authorization server. | [optional]
**endSessionEndpoint** | **String** | OpenID Connect End-Session Endpoint URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP. | [optional]
**frontchannelLogoutSessionSupported** | **bool** | OpenID Connect Front-Channel Logout Session Required Boolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify the RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also included in ID Tokens issued by the OP. | [optional]
**frontchannelLogoutSupported** | **bool** | OpenID Connect Front-Channel Logout Supported Boolean value specifying whether the OP supports HTTP-based logout, with true indicating support. | [optional]
Expand Down
19 changes: 19 additions & 0 deletions clients/hydra/dart/doc/RFC6749ErrorJson.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# ory_hydra_client.model.RFC6749ErrorJson

## Load the model package
```dart
import 'package:ory_hydra_client/api.dart';
```

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**error** | **String** | | [optional]
**errorDebug** | **String** | | [optional]
**errorDescription** | **String** | | [optional]
**errorHint** | **String** | | [optional]
**statusCode** | **int** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


22 changes: 22 additions & 0 deletions clients/hydra/dart/doc/VerifiableCredentialPrimingResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# ory_hydra_client.model.VerifiableCredentialPrimingResponse

## Load the model package
```dart
import 'package:ory_hydra_client/api.dart';
```

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cNonce** | **String** | | [optional]
**cNonceExpiresIn** | **int** | | [optional]
**error** | **String** | | [optional]
**errorDebug** | **String** | | [optional]
**errorDescription** | **String** | | [optional]
**errorHint** | **String** | | [optional]
**format** | **String** | | [optional]
**statusCode** | **int** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


16 changes: 16 additions & 0 deletions clients/hydra/dart/doc/VerifiableCredentialProof.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ory_hydra_client.model.VerifiableCredentialProof

## Load the model package
```dart
import 'package:ory_hydra_client/api.dart';
```

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**jwt** | **String** | | [optional]
**proofType** | **String** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


16 changes: 16 additions & 0 deletions clients/hydra/dart/doc/VerifiableCredentialResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ory_hydra_client.model.VerifiableCredentialResponse

## Load the model package
```dart
import 'package:ory_hydra_client/api.dart';
```

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**credentialDraft00** | **String** | | [optional]
**format** | **String** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Loading

0 comments on commit a905416

Please sign in to comment.