C# 클래스 OpenStack.Services.Identity.V2.IdentityServiceExtensions

This class defines extension methods for simplifying the use of the IIdentityService service in the "common" usage scenarios.
파일 보기 프로젝트 열기: crowdy/OpenStack-ConoHa

공개 메소드들

메소드 설명
AuthenticateAsync ( this service, AuthenticationRequest request, CancellationToken cancellationToken ) : Task

Prepare and send an HTTP API call to obtain a authenticate a set of credentials with the OpenStack Identity Service V2.

GetExtensionAsync ( this service, ExtensionAlias alias, CancellationToken cancellationToken ) : Task

Prepare and send an HTTP API call to obtain details for a specific extension available for the current OpenStack Identity Service V2 endpoint.

ListExtensionsAsync ( this service, CancellationToken cancellationToken ) : Task>

Prepare and send an HTTP API call to list the extensions available for the current OpenStack Identity Service V2 endpoint.

ListTenantsAsync ( this service, CancellationToken cancellationToken ) : Task>

Prepare and send an HTTP API call to list the tenants to which an authentication token has access.

메소드 상세

AuthenticateAsync() 공개 정적인 메소드

Prepare and send an HTTP API call to obtain a authenticate a set of credentials with the OpenStack Identity Service V2.
/// If is . /// /// If an error occurs during an HTTP request as part of preparing or sending the API call. ///
public static AuthenticateAsync ( this service, AuthenticationRequest request, CancellationToken cancellationToken ) : Task
service this The instance.
request AuthenticationRequest An object containing the credentials to /// authenticate.
cancellationToken System.Threading.CancellationToken The that the task will observe.
리턴 Task

GetExtensionAsync() 공개 정적인 메소드

Prepare and send an HTTP API call to obtain details for a specific extension available for the current OpenStack Identity Service V2 endpoint.
/// If is . /// -or- /// If is . /// /// If an error occurs during an HTTP request as part of preparing or sending the API call. ///
public static GetExtensionAsync ( this service, ExtensionAlias alias, CancellationToken cancellationToken ) : Task
service this The instance.
alias ExtensionAlias The unique alias identifying the extension.
cancellationToken System.Threading.CancellationToken The that the task will observe.
리턴 Task

ListExtensionsAsync() 공개 정적인 메소드

Prepare and send an HTTP API call to list the extensions available for the current OpenStack Identity Service V2 endpoint.
/// If is . /// /// If an error occurs during an HTTP request as part of preparing or sending the API call. ///
public static ListExtensionsAsync ( this service, CancellationToken cancellationToken ) : Task>
service this The instance.
cancellationToken System.Threading.CancellationToken The that the task will observe.
리턴 Task>

ListTenantsAsync() 공개 정적인 메소드

Prepare and send an HTTP API call to list the tenants to which an authentication token has access.
/// If is . /// /// If an error occurs during an HTTP request as part of preparing or sending the API call. ///
public static ListTenantsAsync ( this service, CancellationToken cancellationToken ) : Task>
service this The instance.
cancellationToken System.Threading.CancellationToken The that the task will observe.
리턴 Task>