Package for simple communication with SizeID Business API. For more information see sizeid/oauth2 documentation and SizeID Business API documentation.
- Get the code
composer require sizeid/oauth2
-
Get
clientIdandclientSecretfrom your SizeID for Business account. Free tariff available. -
Initialize communication objects
- for client endpoints calls see examples/clientApi.php
- for user endpoints calls see examples/userApi.php
- for login with sizeid using popup see examples/popupLogin.php
- Get the code
composer create-project sizeid/oauth2
-
Get
clientIdandclientSecretfrom your SizeID for Business account. Free tariff available. -
Navigate to
examplesdirectory, copyconfig.example.phptoconfig.php, change constantsCLIENT_IDandCLIENT_SECRET, run example file with webserver.