-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Marat Shakirov <marat.s@affinidi.com>
- Loading branch information
1 parent
d147fb3
commit 8a9dc65
Showing
1,014 changed files
with
245,149 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# ref: https://github.com/github/gitignore/blob/master/Composer.gitignore | ||
|
||
composer.phar | ||
/vendor/ | ||
|
||
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control | ||
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file | ||
# composer.lock | ||
|
||
# php-cs-fixer cache | ||
.php_cs.cache | ||
.php-cs-fixer.cache | ||
|
||
# PHPUnit cache | ||
.phpunit.result.cache |
36 changes: 36 additions & 0 deletions
36
clients/php/credential-issuance-client/.openapi-generator-ignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# IMPORTANT: this file is generated with the option `openapiGeneratorIgnoreList` enabled | ||
# (--openapi-generator-ignore-list in CLI for example) so the entries below are pre-populated based | ||
# on the input provided by the users and this file will be overwritten every time when the option is | ||
# enabled (which is the exact opposite of the default behaviour to not overwrite | ||
# .openapi-generator-ignore if the file exists). | ||
|
||
# OpenAPI Generator Ignore | ||
# Generated by openapi-generator https://github.com/openapitools/openapi-generator | ||
|
||
# Use this file to prevent files from being overwritten by the generator. | ||
# The patterns follow closely to .gitignore or .dockerignore. | ||
|
||
# As an example, the C# client generator defines ApiClient.cs. | ||
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: | ||
#ApiClient.cs | ||
|
||
# You can match any string of characters against a directory, file or extension with a single asterisk (*): | ||
#foo/*/qux | ||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux | ||
|
||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**): | ||
#foo/**/qux | ||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux | ||
|
||
# You can also negate patterns with an exclamation (!). | ||
# For example, you can ignore all files in a docs folder with the file extension .md: | ||
#docs/*.md | ||
# Then explicitly reverse the ignore rule for a single file: | ||
#!docs/README.md | ||
|
||
# The following entries are pre-populated based on the input obtained via | ||
# the option `openapiGeneratorIgnoreList` (--openapi-generator-ignore-list in CLI for example). | ||
github | ||
travis.yaml | ||
git_push.sh | ||
.gitlab-ci.yml |
209 changes: 209 additions & 0 deletions
209
clients/php/credential-issuance-client/.openapi-generator/FILES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
.gitignore | ||
.php-cs-fixer.dist.php | ||
.travis.yml | ||
README.md | ||
composer.json | ||
docs/Api/ConfigurationApi.md | ||
docs/Api/CredentialsApi.md | ||
docs/Api/DefaultApi.md | ||
docs/Api/IssuanceApi.md | ||
docs/Api/OfferApi.md | ||
docs/Api/WellKnownApi.md | ||
docs/Model/ActionForbiddenError.md | ||
docs/Model/ActionForbiddenErrorDetailsInner.md | ||
docs/Model/ChangeCredentialStatusInput.md | ||
docs/Model/CorsGenerateCredentialsOK.md | ||
docs/Model/CorsGetCredentialOfferOK.md | ||
docs/Model/CorsGetWellKnownOpenIdCredentialIssuerOK.md | ||
docs/Model/CreateCredentialInput.md | ||
docs/Model/CreateIssuanceConfig400Response.md | ||
docs/Model/CreateIssuanceConfigInput.md | ||
docs/Model/CredentialIssuanceIdExistError.md | ||
docs/Model/CredentialOfferClaimedError.md | ||
docs/Model/CredentialOfferExpiredError.md | ||
docs/Model/CredentialOfferResponse.md | ||
docs/Model/CredentialOfferResponseGrants.md | ||
docs/Model/CredentialOfferResponseGrantsUrnIetfParamsOauthGrantTypePreAuthorizedCode.md | ||
docs/Model/CredentialOfferResponseGrantsUrnIetfParamsOauthGrantTypePreAuthorizedCodeTxCode.md | ||
docs/Model/CredentialProof.md | ||
docs/Model/CredentialResponse.md | ||
docs/Model/CredentialResponseDeferred.md | ||
docs/Model/CredentialResponseImmediate.md | ||
docs/Model/CredentialResponseImmediateCNonceExpiresIn.md | ||
docs/Model/CredentialResponseImmediateCredential.md | ||
docs/Model/CredentialSubjectNotValidError.md | ||
docs/Model/CredentialSupportedObject.md | ||
docs/Model/DeferredCredentialInput.md | ||
docs/Model/FlowData.md | ||
docs/Model/FlowDataStatusListsDetailsInner.md | ||
docs/Model/GenerateCredentials400Response.md | ||
docs/Model/GetCredentialOffer400Response.md | ||
docs/Model/GetStatusListResultDto.md | ||
docs/Model/InvalidCredentialRequestError.md | ||
docs/Model/InvalidCredentialTypeError.md | ||
docs/Model/InvalidIssuerWalletError.md | ||
docs/Model/InvalidJwtTokenError.md | ||
docs/Model/InvalidParameterError.md | ||
docs/Model/InvalidProofError.md | ||
docs/Model/IssuanceConfigDto.md | ||
docs/Model/IssuanceConfigListResponse.md | ||
docs/Model/IssuanceConfigMiniDto.md | ||
docs/Model/IssuanceStateResponse.md | ||
docs/Model/ListIssuanceRecordResponse.md | ||
docs/Model/ListIssuanceResponse.md | ||
docs/Model/ListIssuanceResponseIssuancesInner.md | ||
docs/Model/MissingHolderDidError.md | ||
docs/Model/NotFoundError.md | ||
docs/Model/ProjectCredentialConfigExistError.md | ||
docs/Model/ProjectCredentialConfigNotExistError.md | ||
docs/Model/StartIssuance400Response.md | ||
docs/Model/StartIssuanceInput.md | ||
docs/Model/StartIssuanceInputDataInner.md | ||
docs/Model/StartIssuanceInputDataInnerMetaData.md | ||
docs/Model/StartIssuanceInputDataInnerStatusListDetailsInner.md | ||
docs/Model/StartIssuanceResponse.md | ||
docs/Model/SupportedCredentialMetadata.md | ||
docs/Model/SupportedCredentialMetadataDisplayInner.md | ||
docs/Model/SupportedCredentialMetadataDisplayInnerLogo.md | ||
docs/Model/UpdateIssuanceConfigInput.md | ||
docs/Model/VcClaimedError.md | ||
docs/Model/WellKnownOpenIdCredentialIssuerResponse.md | ||
docs/Model/WellKnownOpenIdCredentialIssuerResponseCredentialsSupportedInner.md | ||
lib/Api/ConfigurationApi.php | ||
lib/Api/CredentialsApi.php | ||
lib/Api/DefaultApi.php | ||
lib/Api/IssuanceApi.php | ||
lib/Api/OfferApi.php | ||
lib/Api/WellKnownApi.php | ||
lib/ApiException.php | ||
lib/Configuration.php | ||
lib/HeaderSelector.php | ||
lib/Model/ActionForbiddenError.php | ||
lib/Model/ActionForbiddenErrorDetailsInner.php | ||
lib/Model/ChangeCredentialStatusInput.php | ||
lib/Model/CorsGenerateCredentialsOK.php | ||
lib/Model/CorsGetCredentialOfferOK.php | ||
lib/Model/CorsGetWellKnownOpenIdCredentialIssuerOK.php | ||
lib/Model/CreateCredentialInput.php | ||
lib/Model/CreateIssuanceConfig400Response.php | ||
lib/Model/CreateIssuanceConfigInput.php | ||
lib/Model/CredentialIssuanceIdExistError.php | ||
lib/Model/CredentialOfferClaimedError.php | ||
lib/Model/CredentialOfferExpiredError.php | ||
lib/Model/CredentialOfferResponse.php | ||
lib/Model/CredentialOfferResponseGrants.php | ||
lib/Model/CredentialOfferResponseGrantsUrnIetfParamsOauthGrantTypePreAuthorizedCode.php | ||
lib/Model/CredentialOfferResponseGrantsUrnIetfParamsOauthGrantTypePreAuthorizedCodeTxCode.php | ||
lib/Model/CredentialProof.php | ||
lib/Model/CredentialResponse.php | ||
lib/Model/CredentialResponseDeferred.php | ||
lib/Model/CredentialResponseImmediate.php | ||
lib/Model/CredentialResponseImmediateCNonceExpiresIn.php | ||
lib/Model/CredentialResponseImmediateCredential.php | ||
lib/Model/CredentialSubjectNotValidError.php | ||
lib/Model/CredentialSupportedObject.php | ||
lib/Model/DeferredCredentialInput.php | ||
lib/Model/FlowData.php | ||
lib/Model/FlowDataStatusListsDetailsInner.php | ||
lib/Model/GenerateCredentials400Response.php | ||
lib/Model/GetCredentialOffer400Response.php | ||
lib/Model/GetStatusListResultDto.php | ||
lib/Model/InvalidCredentialRequestError.php | ||
lib/Model/InvalidCredentialTypeError.php | ||
lib/Model/InvalidIssuerWalletError.php | ||
lib/Model/InvalidJwtTokenError.php | ||
lib/Model/InvalidParameterError.php | ||
lib/Model/InvalidProofError.php | ||
lib/Model/IssuanceConfigDto.php | ||
lib/Model/IssuanceConfigListResponse.php | ||
lib/Model/IssuanceConfigMiniDto.php | ||
lib/Model/IssuanceStateResponse.php | ||
lib/Model/ListIssuanceRecordResponse.php | ||
lib/Model/ListIssuanceResponse.php | ||
lib/Model/ListIssuanceResponseIssuancesInner.php | ||
lib/Model/MissingHolderDidError.php | ||
lib/Model/ModelInterface.php | ||
lib/Model/NotFoundError.php | ||
lib/Model/ProjectCredentialConfigExistError.php | ||
lib/Model/ProjectCredentialConfigNotExistError.php | ||
lib/Model/StartIssuance400Response.php | ||
lib/Model/StartIssuanceInput.php | ||
lib/Model/StartIssuanceInputDataInner.php | ||
lib/Model/StartIssuanceInputDataInnerMetaData.php | ||
lib/Model/StartIssuanceInputDataInnerStatusListDetailsInner.php | ||
lib/Model/StartIssuanceResponse.php | ||
lib/Model/SupportedCredentialMetadata.php | ||
lib/Model/SupportedCredentialMetadataDisplayInner.php | ||
lib/Model/SupportedCredentialMetadataDisplayInnerLogo.php | ||
lib/Model/UpdateIssuanceConfigInput.php | ||
lib/Model/VcClaimedError.php | ||
lib/Model/WellKnownOpenIdCredentialIssuerResponse.php | ||
lib/Model/WellKnownOpenIdCredentialIssuerResponseCredentialsSupportedInner.php | ||
lib/ObjectSerializer.php | ||
phpunit.xml.dist | ||
test/Api/ConfigurationApiTest.php | ||
test/Api/CredentialsApiTest.php | ||
test/Api/DefaultApiTest.php | ||
test/Api/IssuanceApiTest.php | ||
test/Api/OfferApiTest.php | ||
test/Api/WellKnownApiTest.php | ||
test/Model/ActionForbiddenErrorDetailsInnerTest.php | ||
test/Model/ActionForbiddenErrorTest.php | ||
test/Model/ChangeCredentialStatusInputTest.php | ||
test/Model/CorsGenerateCredentialsOKTest.php | ||
test/Model/CorsGetCredentialOfferOKTest.php | ||
test/Model/CorsGetWellKnownOpenIdCredentialIssuerOKTest.php | ||
test/Model/CreateCredentialInputTest.php | ||
test/Model/CreateIssuanceConfig400ResponseTest.php | ||
test/Model/CreateIssuanceConfigInputTest.php | ||
test/Model/CredentialIssuanceIdExistErrorTest.php | ||
test/Model/CredentialOfferClaimedErrorTest.php | ||
test/Model/CredentialOfferExpiredErrorTest.php | ||
test/Model/CredentialOfferResponseGrantsTest.php | ||
test/Model/CredentialOfferResponseGrantsUrnIetfParamsOauthGrantTypePreAuthorizedCodeTest.php | ||
test/Model/CredentialOfferResponseGrantsUrnIetfParamsOauthGrantTypePreAuthorizedCodeTxCodeTest.php | ||
test/Model/CredentialOfferResponseTest.php | ||
test/Model/CredentialProofTest.php | ||
test/Model/CredentialResponseDeferredTest.php | ||
test/Model/CredentialResponseImmediateCNonceExpiresInTest.php | ||
test/Model/CredentialResponseImmediateCredentialTest.php | ||
test/Model/CredentialResponseImmediateTest.php | ||
test/Model/CredentialResponseTest.php | ||
test/Model/CredentialSubjectNotValidErrorTest.php | ||
test/Model/CredentialSupportedObjectTest.php | ||
test/Model/DeferredCredentialInputTest.php | ||
test/Model/FlowDataStatusListsDetailsInnerTest.php | ||
test/Model/FlowDataTest.php | ||
test/Model/GenerateCredentials400ResponseTest.php | ||
test/Model/GetCredentialOffer400ResponseTest.php | ||
test/Model/GetStatusListResultDtoTest.php | ||
test/Model/InvalidCredentialRequestErrorTest.php | ||
test/Model/InvalidCredentialTypeErrorTest.php | ||
test/Model/InvalidIssuerWalletErrorTest.php | ||
test/Model/InvalidJwtTokenErrorTest.php | ||
test/Model/InvalidParameterErrorTest.php | ||
test/Model/InvalidProofErrorTest.php | ||
test/Model/IssuanceConfigDtoTest.php | ||
test/Model/IssuanceConfigListResponseTest.php | ||
test/Model/IssuanceConfigMiniDtoTest.php | ||
test/Model/IssuanceStateResponseTest.php | ||
test/Model/ListIssuanceRecordResponseTest.php | ||
test/Model/ListIssuanceResponseIssuancesInnerTest.php | ||
test/Model/ListIssuanceResponseTest.php | ||
test/Model/MissingHolderDidErrorTest.php | ||
test/Model/NotFoundErrorTest.php | ||
test/Model/ProjectCredentialConfigExistErrorTest.php | ||
test/Model/ProjectCredentialConfigNotExistErrorTest.php | ||
test/Model/StartIssuance400ResponseTest.php | ||
test/Model/StartIssuanceInputDataInnerMetaDataTest.php | ||
test/Model/StartIssuanceInputDataInnerStatusListDetailsInnerTest.php | ||
test/Model/StartIssuanceInputDataInnerTest.php | ||
test/Model/StartIssuanceInputTest.php | ||
test/Model/StartIssuanceResponseTest.php | ||
test/Model/SupportedCredentialMetadataDisplayInnerLogoTest.php | ||
test/Model/SupportedCredentialMetadataDisplayInnerTest.php | ||
test/Model/SupportedCredentialMetadataTest.php | ||
test/Model/UpdateIssuanceConfigInputTest.php | ||
test/Model/VcClaimedErrorTest.php | ||
test/Model/WellKnownOpenIdCredentialIssuerResponseCredentialsSupportedInnerTest.php | ||
test/Model/WellKnownOpenIdCredentialIssuerResponseTest.php |
1 change: 1 addition & 0 deletions
1
clients/php/credential-issuance-client/.openapi-generator/VERSION
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.9.0 |
29 changes: 29 additions & 0 deletions
29
clients/php/credential-issuance-client/.php-cs-fixer.dist.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
/** | ||
* @generated | ||
* @link https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/HEAD/doc/config.rst | ||
*/ | ||
$finder = PhpCsFixer\Finder::create() | ||
->in(__DIR__) | ||
->exclude('vendor') | ||
->exclude('test') | ||
->exclude('tests') | ||
; | ||
|
||
$config = new PhpCsFixer\Config(); | ||
return $config->setRules([ | ||
'@PSR12' => true, | ||
'phpdoc_order' => true, | ||
'array_syntax' => [ 'syntax' => 'short' ], | ||
'strict_comparison' => true, | ||
'strict_param' => true, | ||
'no_trailing_whitespace' => false, | ||
'no_trailing_whitespace_in_comment' => false, | ||
'braces' => false, | ||
'single_blank_line_at_eof' => false, | ||
'blank_line_after_namespace' => false, | ||
'no_leading_import_slash' => false, | ||
]) | ||
->setFinder($finder) | ||
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
language: php | ||
# Bionic environment has preinstalled PHP from 7.1 to 7.4 | ||
# https://docs.travis-ci.com/user/reference/bionic/#php-support | ||
dist: bionic | ||
php: | ||
- 7.4 | ||
before_install: 'composer install' | ||
script: 'vendor/bin/phpunit' |
Oops, something went wrong.