ec / eu-access-client
EU Access Users API
Installs: 761
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ec/eu-access-client
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: 2025-10-15 04:19:10 UTC
README
EU Access Users API
Installation & Usage
Requirements
PHP 7.4 and later. Should also work with PHP 8.0.
Composer
To install the bindings via Composer, add the following to composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
}
],
"require": {
"GIT_USER_ID/GIT_REPO_ID": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php:
<?php require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');
Getting Started
Please follow the installation procedure and then run the following:
<?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 Endpoints
All URIs are relative to https://eu-access-admin-int-host:14222/eu-access/admin-int/usersData
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AttributesApi | createAttributeValue | POST /v1.0/attributes | Create a new attribute for the user identity |
| AttributesApi | deleteAttributeValue | DELETE /v1.0/attributes/{attributeId} | Deletes an attribute profile |
| AttributesApi | getAttributeKeyList | GET /v1.0/attributes/keys | Get the attributes business codes |
| AttributesApi | getAttributeValue | GET /v1.0/attributes/{attributeId} | Get the attribute with the given id |
| AttributesApi | getAttributes | GET /v1.0/attributes | Get all attributes for an user identity |
| AttributesApi | updateAttributeValue | PUT /v1.0/attributes/{attributeId} | Update the attribute value with the given id |
| IdentitiesApi | createUserIdentity | POST /v1.0/identities | Create an identity for the actor |
| IdentitiesApi | deleteIdentity | DELETE /v1.0/identities/{identityId} | Deletes an identity |
| IdentitiesApi | getUserIdentities | GET /v1.0/identities | Get user identities |
| IdentitiesApi | getUserIdentity | GET /v1.0/identities/{identityId} | Get the details of the user identity |
| ProfileAssignmentsApi | createProfileAssignment | POST /v1.0/profileAssignments | Create a profile assignment for an identity |
| ProfileAssignmentsApi | deleteProfileAssignment | DELETE /v1.0/profileAssignments/{profileAssignmentId} | Deletes a profile assignment |
| ProfileAssignmentsApi | getProfileAssignment | GET /v1.0/profileAssignments/{profileAssignmentId} | Get the profile assignment with the given id |
| ProfileAssignmentsApi | getProfileAssignments | GET /v1.0/profileAssignments | Get profile assignments for the given identity id |
| ProfileAssignmentsApi | updateProfileAssignment | PUT /v1.0/profileAssignments/{profileAssignmentId} | Update a profile assignment with the given id |
| UsersApi | createNaturalUser | POST /v1.0/users | Create an user as natural person |
| UsersApi | getListOfUsers | GET /v1.0/users | Get list of users |
Models
- Attribute
- AttributeCreateRequest
- AttributeCreateRequestAllOf
- AttributeId
- AttributeKeyName
- AttributeUpdateRequest
- ErrorMessage
- ErrorType
- Identity
- IdentityBase
- IdentityCreateRequest
- IdentityId
- ProfileAssignment
- ProfileAssignmentCreateRequest
- ProfileAssignmentId
- ProfileAssignmentUpdateRequest
- QaaLevel
- ScopedProfile
- TypeOfPerson
- User
- UserBase
- UserCreateRequest
- UserCreateRequestAllOf
- UserId
Authorization
All endpoints do not require authorization.
Tests
To run the tests, use:
composer install vendor/bin/phpunit
Author
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
1.0 - Build package:
org.openapitools.codegen.languages.PhpClientCodegen