ec / eu-access-client
欧盟访问用户API
0.0.1
2022-12-26 16:26 UTC
Requires
- php: ^7.4 || ^8.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/psr7: ^1.7 || ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.5
- phpunit/phpunit: ^8.0 || ^9.0
This package is not auto-updated.
Last update: 2024-10-01 23:27:06 UTC
README
欧盟访问用户API
安装与使用
要求
PHP 7.4 及更高版本。也应在PHP 8.0上工作。
Composer
要使用Composer安装绑定,请将以下内容添加到composer.json
{ "repositories": [ { "type": "vcs", "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" } ], "require": { "GIT_USER_ID/GIT_REPO_ID": "*@dev" } }
然后运行composer install
手动安装
下载文件并包含autoload.php
<?php require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');
入门
请遵循安装过程,然后运行以下命令
<?php require_once(__DIR__ . '/vendor/autoload.php'); $apiInstance = new EC\EUAccess\Client\Api\AttributesApi( // 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() ); $request = new \EC\EUAccess\Client\Model\AttributeCreateRequest(); // \EC\EUAccess\Client\Model\AttributeCreateRequest | Attribute object try { $result = $apiInstance->createAttributeValue($request); print_r($result); } catch (Exception $e) { echo 'Exception when calling AttributesApi->createAttributeValue: ', $e->getMessage(), PHP_EOL; }
API端点
所有URI都相对于 https://eu-access-admin-int-host:14222/eu-access/admin-int/usersData
模型
- 属性
- AttributeCreateRequest
- AttributeCreateRequestAllOf
- AttributeId
- AttributeKeyName
- AttributeUpdateRequest
- ErrorMessage
- ErrorType
- Identity
- IdentityBase
- IdentityCreateRequest
- IdentityId
- ProfileAssignment
- ProfileAssignmentCreateRequest
- ProfileAssignmentId
- ProfileAssignmentUpdateRequest
- QaaLevel
- ScopedProfile
- TypeOfPerson
- User
- UserBase
- UserCreateRequest
- UserCreateRequestAllOf
- UserId
授权
所有端点均不需要授权。
测试
要运行测试,请使用
composer install vendor/bin/phpunit
作者
关于此包
此PHP包是由OpenAPI Generator项目自动生成的
- API版本:
1.0
- 构建包:
org.openapitools.codegen.languages.PhpClientCodegen