HpIdentityProvider Constructor (Uri, IRestService, ICacheUserAccess) |
This API is preliminary and subject to change.
Initializes a new instance of the
HpIdentityProvider class
with no default identity, and the specified base URL, REST service
implementation, and token cache.
Namespace: net.openstack.Providers.HpAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public HpIdentityProvider(
Uri urlBase,
IRestService restService,
ICache<UserAccess> tokenCache
)
Public Sub New (
urlBase As Uri,
restService As IRestService,
tokenCache As ICache(Of UserAccess)
)
public:
HpIdentityProvider(
Uri^ urlBase,
IRestService^ restService,
ICache<UserAccess^>^ tokenCache
)
new :
urlBase : Uri *
restService : IRestService *
tokenCache : ICache<UserAccess> -> HpIdentityProvider
Parameters
- urlBase
- Type: SystemUri
The base URL for the cloud instance. Predefined URLs are available in PredefinedHpIdentityEndpoints. - restService
- Type: JSIStudios.SimpleRESTServices.ClientIRestService
The implementation of IRestService to use for executing REST requests. If this value is , the provider will use a new instance of JsonRestServices. - tokenCache
- Type: net.openstack.Core.CachingICacheUserAccess
The cache to use for caching user access tokens. If this value is , the provider will use Instance.
Exceptions Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also