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
파일 보기 프로젝트 열기: crowdy/OpenStack-ConoHa 1 사용 예제들

공개 메소드들

메소드 설명
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