CloudIdentityProvider Constructor (CloudIdentity, IRestService, ICacheUserAccess, Uri) |
Namespace: net.openstack.Providers.RackspaceAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public CloudIdentityProvider(
CloudIdentity defaultIdentity,
IRestService restService,
ICache<UserAccess> tokenCache,
Uri urlBase
)
Public Sub New (
defaultIdentity As CloudIdentity,
restService As IRestService,
tokenCache As ICache(Of UserAccess),
urlBase As Uri
)
public:
CloudIdentityProvider(
CloudIdentity^ defaultIdentity,
IRestService^ restService,
ICache<UserAccess^>^ tokenCache,
Uri^ urlBase
)
new :
defaultIdentity : CloudIdentity *
restService : IRestService *
tokenCache : ICache<UserAccess> *
urlBase : Uri -> CloudIdentityProvider
Parameters
- defaultIdentity
- Type: net.openstack.Core.DomainCloudIdentity
The default identity to use for calls that do not explicitly specify an identity. If this value is , no default identity is available so all calls must specify an explicit identity. - 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. - urlBase
- Type: SystemUri
The base URL for the cloud instance. If this value is , the provider will use https://identity.api.rackspacecloud.com.
Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also