C# 클래스 Rackspace.Services.Identity.V2.ConoHaIdentityClient

This class extends the default IdentityClient implementation of OpenStack Identity Service V2 to address vendor-specific differences in various responses to HTTP API calls sent to the service.
상속: IdentityClient
파일 보기 프로젝트 열기: crowdy/OpenStack-ConoHa 1 사용 예제들

공개 메소드들

메소드 설명
ConoHaIdentityClient ( IAuthenticationService authenticationService, Uri baseAddress ) : System

Initializes a new instance of the ConoHaIdentityClient class with the specified fixed base address.

ConoHaIdentityClient ( Uri baseAddress ) : System

Initializes a new instance of the ConoHaIdentityClient class with the specified fixed base address.

PrepareGetApiVersionAsync ( ApiVersionId apiVersionId, CancellationToken cancellationToken ) : Task

Rackspace sends back the media-types property value wrapped in an additional JSON object, as opposed to the array OpenStack uses. This method overrides the behavior of the base OpenStack client to replace the unexpected structure with the correct layout prior to deserialization.

If required, the original response is available via the HttpResponseMessage.Content property of the response.

PrepareListExtensionsAsync ( CancellationToken cancellationToken ) : Task

메소드 상세

ConoHaIdentityClient() 공개 메소드

Initializes a new instance of the ConoHaIdentityClient class with the specified fixed base address.
/// If is . /// /// If is not an absolute URI. ///
public ConoHaIdentityClient ( IAuthenticationService authenticationService, Uri baseAddress ) : System
authenticationService IAuthenticationService The authentication service to use for authenticating requests made to /// this service.
baseAddress System.Uri The base address of the Identity Service.
리턴 System

ConoHaIdentityClient() 공개 메소드

Initializes a new instance of the ConoHaIdentityClient class with the specified fixed base address.
/// If is . /// /// If is not an absolute URI. ///
public ConoHaIdentityClient ( Uri baseAddress ) : System
baseAddress System.Uri The base address of the Identity Service.
리턴 System

PrepareGetApiVersionAsync() 공개 메소드

Rackspace sends back the media-types property value wrapped in an additional JSON object, as opposed to the array OpenStack uses. This method overrides the behavior of the base OpenStack client to replace the unexpected structure with the correct layout prior to deserialization.

If required, the original response is available via the HttpResponseMessage.Content property of the response.

public PrepareGetApiVersionAsync ( ApiVersionId apiVersionId, CancellationToken cancellationToken ) : Task
apiVersionId ApiVersionId
cancellationToken System.Threading.CancellationToken
리턴 Task

PrepareListExtensionsAsync() 공개 메소드

public PrepareListExtensionsAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
리턴 Task