C# Класс Rackspace.Security.Authentication.RackspaceAuthenticationService

This class extends the OpenStack IdentityV2AuthenticationService with support for the Rackspace-specific service catalog and default region supported by Cloud Identity accounts.

The default region for an authenticated user is only considered when a region is not explicitly specified in the construction of a service client.

Наследование: OpenStack.Security.Authentication.IdentityV2AuthenticationService
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
RackspaceAuthenticationService ( IIdentityService identityService, AuthenticationRequest authenticationRequest ) : System

Initializes a new instance of the RackspaceAuthenticationService class with the specified identity service and prepared authentication request.

Защищенные методы

Метод Описание
GetBaseAddressImpl ( Access access, string serviceType, string serviceName, string region, bool internalAddress ) : Uri This method updates the serviceType and/or serviceName values for cases where "vanilla" OpenStack values were specified but Rackspace exposes the compatible services under different names in the service catalog.
GetEffectiveRegion ( Access access, string region ) : string This implementation returns region if it is non-. If region is , the default region for the specified Access is returned if available; otherwise, this method returns .

Описание методов

GetBaseAddressImpl() защищенный Метод

This method updates the serviceType and/or serviceName values for cases where "vanilla" OpenStack values were specified but Rackspace exposes the compatible services under different names in the service catalog.
protected GetBaseAddressImpl ( Access access, string serviceType, string serviceName, string region, bool internalAddress ) : Uri
access OpenStack.Services.Identity.V2.Access
serviceType string
serviceName string
region string
internalAddress bool
Результат System.Uri

GetEffectiveRegion() защищенный Метод

This implementation returns region if it is non-. If region is , the default region for the specified Access is returned if available; otherwise, this method returns .
protected GetEffectiveRegion ( Access access, string region ) : string
access OpenStack.Services.Identity.V2.Access
region string
Результат string

RackspaceAuthenticationService() публичный Метод

Initializes a new instance of the RackspaceAuthenticationService class with the specified identity service and prepared authentication request.
/// If is . /// -or- /// If is . ///
public RackspaceAuthenticationService ( IIdentityService identityService, AuthenticationRequest authenticationRequest ) : System
identityService IIdentityService /// The instance to use for authentication purposes. ///
authenticationRequest OpenStack.Services.Identity.V2.AuthenticationRequest The authentication request, which contains the credentials to use for /// authenticating with Rackspace Cloud Identity.
Результат System