8000 feat: update all clients by affinidi-tdk[bot] · Pull Request #613 · affinidi/affinidi-tdk-php · GitHub
[go: up one dir, main page]

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 2 additions & 4 deletions src/Clients/ConsumerIamClient/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ docs/Api/ConsumerAuthApi.md
docs/Api/WellKnownApi.md
docs/Model/ConsumerAuthTokenEndpointInput.md
docs/Model/ConsumerAuthTokenEndpointOutput.md
docs/Model/CorsConsumerAuthTokenEndpointOK.md
docs/Model/GetAccessOutput.md
docs/Model/GrantAccessInput.md
docs/Model/GrantAccessOutput.md
docs/Model/InvalidDIDError.md
docs/Model/InvalidJwtTokenError.md
docs/Model/InvalidJwtTokenErrorDetailsInner.md
docs/Model/InvalidParameterError.md
docs/Model/JsonWebKeyDto.md
docs/Model/JsonWebKeySetDto.md
docs/Model/Permission.md
Expand All @@ -32,13 +31,12 @@ lib/InvalidJwtTokenError.php
lib/InvalidParameterError.php
lib/Model/ConsumerAuthTokenEndpointInput.php
lib/Model/ConsumerAuthTokenEndpointOutput.php
lib/Model/CorsConsumerAuthTokenEndpointOK.php
lib/Model/GetAccessOutput.php
lib/Model/GrantAccessInput.php
lib/Model/GrantAccessOutput.php
lib/Model/InvalidDIDError.php
lib/Model/InvalidJwtTokenError.php
lib/Model/InvalidJwtTokenErrorDetailsInner.php
lib/Model/InvalidParameterError.php
lib/Model/JsonWebKeyDto.php
lib/Model/JsonWebKeySetDto.php
lib/Model/ModelInterface.php
Expand Down
2 changes: 1 addition & 1 deletion src/Clients/ConsumerIamClient/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.13.0
7.25.0
8 changes: 4 additions & 4 deletions src/Clients/ConsumerIamClient/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ $config = AffinidiTdk\Clients\ConsumerIamClient\Configuration::getDefaultConfigu
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = AffinidiTdk\Clients\ConsumerIamClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('authorization', 'Bearer');


$apiInstance = new AffinidiTdk\Clients\ConsumerIamClient\Api\AuthzApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
Expand All @@ -66,6 +65,7 @@ All URIs are relative to *https://apse1.api.affinidi.io/cid*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AuthzApi* | [**deleteAccessVfs**](docs/Api/AuthzApi.md#deleteaccessvfs) | **DELETE** /v1/authz/vfs/access/{granteeDid} | delete access of granteeDid
*AuthzApi* | [**getAccessVfs**](docs/Api/AuthzApi.md#getaccessvfs) | **GET** /v1/authz/vfs/access/{granteeDid} | Get permissions to the virtual file system for a subject
*AuthzApi* | [**grantAccessVfs**](docs/Api/AuthzApi.md#grantaccessvfs) | **POST** /v1/authz/vfs/access/{granteeDid} | Grant access to the virtual file system
*AuthzApi* | [**updateAccessVfs**](docs/Api/AuthzApi.md#updateaccessvfs) | **PUT** /v1/authz/vfs/access/{granteeDid} | Update access of granteeDid
*ConsumerAuthApi* | [**consumerAuthTokenEndpoint**](docs/Api/ConsumerAuthApi.md#consumerauthtokenendpoint) | **POST** /v1/consumer/oauth2/token | The Consumer OAuth 2.0 Token Endpoint
Expand All @@ -75,13 +75,12 @@ Class | Method | HTTP request | Description

- [ConsumerAuthTokenEndpointInput](docs/Model/ConsumerAuthTokenEndpointInput.md)
- [ConsumerAuthTokenEndpointOutput](docs/Model/ConsumerAuthTokenEndpointOutput.md)
- [CorsConsumerAuthTokenEndpointOK](docs/Model/CorsConsumerAuthTokenEndpointOK.md)
- [GetAccessOutput](docs/Model/GetAccessOutput.md)
- [GrantAccessInput](docs/Model/GrantAccessInput.md)
- [GrantAccessOutput](docs/Model/GrantAccessOutput.md)
- [InvalidDIDError](docs/Model/InvalidDIDError.md)
- [InvalidJwtTokenError](docs/Model/InvalidJwtTokenError.md)
- [InvalidJwtTokenErrorDetailsInner](docs/Model/InvalidJwtTokenErrorDetailsInner.md)
- [InvalidParameterError](docs/Model/InvalidParameterError.md)
- [JsonWebKeyDto](docs/Model/JsonWebKeyDto.md)
- [JsonWebKeySetDto](docs/Model/JsonWebKeySetDto.md)
- [Permission](docs/Model/Permission.md)
Expand Down Expand Up @@ -119,5 +118,6 @@ info@affinidi.com
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: `1.0.0`
- Generator version: `7.13.0`
- Package version: `1.0.0`
- Generator version: `7.25.0`
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`
65 changes: 65 additions & 0 deletions src/Clients/ConsumerIamClient/docs/Api/AuthzApi.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# AffinidiTdk\Clients\ConsumerIamClient\AuthzApi



All URIs are relative to https://apse1.api.affinidi.io/cid, except if the operation defines another base path.

| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**deleteAccessVfs()**](AuthzApi.md#deleteAccessVfs) | **DELETE** /v1/authz/vfs/access/{granteeDid} | delete access of granteeDid |
| [**getAccessVfs()**](AuthzApi.md#getAccessVfs) | **GET** /v1/authz/vfs/access/{granteeDid} | Get permissions to the virtual file system for a subject |
| [**grantAccessVfs()**](AuthzApi.md#grantAccessVfs) | **POST** /v1/authz/vfs/access/{granteeDid} | Grant access to the virtual file system |
| [**updateAccessVfs()**](AuthzApi.md#updateAccessVfs) | **PUT** /v1/authz/vfs/access/{granteeDid} | Update access of granteeDid |

Expand Down Expand Up @@ -70,6 +73,68 @@ void (empty response body)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)

## `getAccessVfs()`

```php
getAccessVfs($grantee_did): \AffinidiTdk\Clients\ConsumerIamClient\Model\GetAccessOutput
```

Get permissions to the virtual file system for a subject

Retrieves access rights granted to a subject for the virtual file system

### Example

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure API key authorization: ConsumerTokenAuth
$config = AffinidiTdk\Clients\ConsumerIamClient\Configuration::getDefaultConfiguration()->setApiKey('authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = AffinidiTdk\Clients\ConsumerIamClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('authorization', 'Bearer');


$apiInstance = new AffinidiTdk\Clients\ConsumerIamClient\Api\AuthzApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$grantee_did = 'grantee_did_example'; // string

try {
$result = $apiInstance->getAccessVfs($grantee_did);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AuthzApi->getAccessVfs: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **grantee_did** | **string**| | |

### Return type

[**\AffinidiTdk\Clients\ConsumerIamClient\Model\GetAccessOutput**](../Model/GetAccessOutput.md)

### Authorization

[ConsumerTokenAuth](../../README.md#ConsumerTokenAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: `application/json`

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

## `grantAccessVfs()`

```php
Expand Down
2 changes: 2 additions & 0 deletions src/Clients/ConsumerIamClient/docs/Api/ConsumerAuthApi.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# AffinidiTdk\Clients\ConsumerIamClient\ConsumerAuthApi



All URIs are relative to https://apse1.api.affinidi.io/cid, except if the operation defines another base path.

| Method | HTTP request | Description |
Expand Down
2 changes: 2 additions & 0 deletions src/Clients/ConsumerIamClient/docs/Api/WellKnownApi.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# AffinidiTdk\Clients\ConsumerIamClient\WellKnownApi



All URIs are relative to https://apse1.api.affinidi.io/cid, except if the operation defines another base path.

| Method | HTTP request | Description |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # ConsumerAuthTokenEndpointInput
# ConsumerAuthTokenEndpointInput

## Properties

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # ConsumerAuthTokenEndpointOutput
# ConsumerAuthTokenEndpointOutput

## Properties

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# # CorsGetClaimedCredentialsOK
# GetAccessOutput

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cors_get_claimed_credentials_ok** | **string** | | [optional]
**permissions** | [**\AffinidiTdk\Clients\ConsumerIamClient\Model\Permission[]**](Permission.md) | List of permissions currently granted |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # GrantAccessInput
# GrantAccessInput

## Properties

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # GrantAccessOutput
# GrantAccessOutput

## Properties

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # InvalidDIDError
# InvalidDIDError

## Properties

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # InvalidJwtTokenError
# InvalidJwtTokenError

## Properties

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # InvalidJwtTokenErrorDetailsInner
# InvalidJwtTokenErrorDetailsInner

## Properties

Expand Down
13 changes: 0 additions & 13 deletions src/Clients/ConsumerIamClient/docs/Model/InvalidParameterError.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # JsonWebKeyDto
# JsonWebKeyDto

## Properties

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # JsonWebKeySetDto
# JsonWebKeySetDto

## Properties

Expand Down
3 changes: 2 additions & 1 deletion src/Clients/ConsumerIamClient/docs/Model/Permission.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# # Permission
# Permission

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**rights** | [**\AffinidiTdk\Clients\ConsumerIamClient\Model\RightsEnum[]**](RightsEnum.md) | |
**node_ids** | **string[]** | |
**expires_at** | **\DateTime** | | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
2 changes: 1 addition & 1 deletion src/Clients/ConsumerIamClient/docs/Model/RightsEnum.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # RightsEnum
# RightsEnum

## Properties

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # UnauthorizedError
# UnauthorizedError

## Properties

Expand Down
F965
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # UnexpectedError
# UnexpectedError

## Properties

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # UpdateAccessInput
# UpdateAccessInput

## Properties

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # UpdateAccessOutput
# UpdateAccessOutput

## Properties

Expand Down
Loading
Loading
0