After ARDC has set up your Handle service account you will be issued with a unique App Id (Application Identifier) and Shared Secret.
Authentication with the Handle M2M service can then be carried out with either a combination of:
The Handle service authentication process functions in the following way:
Shared Secrets were introduced in the Handle service as an alternate and preferred method of authenticating against the M2M service where a user's IP address was unpredictable (e.g. cloud based virtual machines). The shared secret is a unique string which is automatically assigned by the Handle service upon account creation, and is only known by ARDC Handle Service Administrators and the account owner.
When authenticating using a Shared Secret, the secret can be passed in one of two ways.
Authorization: Basic '.base64_encode($app_id.":".$shared_secret) ; OR
$str = base64_encode($app_id.":".$shared_secret);
Authorization: Basic '.$str
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <request name="mint"> <properties> <property name="appId" value="exampleAppID"/> <property name="sharedSecret" value="exampleSharedSecret"/> <property name="identifier" value="ExampleUser"/> <property name="authDomain" value="ExampleAuthDomain"/> </properties> </request>