HP Authentication |
This page describes the process for authenticating against the HP Public Cloud.
Client authentication against the HP Cloud Identity Service requires the following.
Create an instance of CloudIdentityWithProject and initialize its properties with the desired authentication credentials. The CloudIdentityWithProject credentials class allows the tenantName and tenantId properties described in the HP documentation on Scoped Tokens to be defined.
Create an instance of HpIdentityProvider, and pass the previously created credentials to the constructor.
When creating a service provider instance, such as CloudFilesProvider, pass null for the CloudIdentity parameter and the identity provider from the previous step as the IIdentityProvider parameter.
The HpIdentityProvider implementation does not support all API operations implemented by the HP Cloud Identity Service. In addition, the current implementation of this provider uses Identity Service v2 for authentication.