Amido\ProfileService
This package is used in conjunction with the Amido profile service to persist and retrieve profiles., (*1)
Installation
Composer
Add this to your application's composer.json:, (*2)
{
"require": {
"amido/profile-service": "*"
}
}
And then execute:, (*3)
composer install
Usage
Create a new instance, (*4)
use Amido\ProfileService;
$service = new ProfileService('subscription_key_here');
Then call the API via the following methods, (*5)
$service->create_profile('realm_here', 'user_id_here', 'delegate_access_token_here', array('profile' => 'here));