C# 클래스 OpenStack.Security.Authentication.PassThroughAuthenticationService

This class defines an IAuthenticationService which passes HTTP requests through unaltered.
상속: IAuthenticationService
파일 보기 프로젝트 열기: crowdy/OpenStack-ConoHa

공개 메소드들

메소드 설명
AuthenticateRequestAsync ( HttpRequestMessage requestMessage, CancellationToken cancellationToken ) : Task This authentication service does not perform any authentication operations or modify the requestMessage.
GetBaseAddressAsync ( string serviceType, string serviceName, string region, bool internalAddress, CancellationToken cancellationToken ) : Task The base implementation for this authentication service simply returns BaseAddress.
PassThroughAuthenticationService ( Uri baseAddress ) : System

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

메소드 상세

AuthenticateRequestAsync() 공개 메소드

This authentication service does not perform any authentication operations or modify the requestMessage.
public AuthenticateRequestAsync ( HttpRequestMessage requestMessage, CancellationToken cancellationToken ) : Task
requestMessage System.Net.Http.HttpRequestMessage
cancellationToken System.Threading.CancellationToken
리턴 Task

GetBaseAddressAsync() 공개 메소드

The base implementation for this authentication service simply returns BaseAddress.
public GetBaseAddressAsync ( string serviceType, string serviceName, string region, bool internalAddress, CancellationToken cancellationToken ) : Task
serviceType string
serviceName string
region string
internalAddress bool
cancellationToken System.Threading.CancellationToken
리턴 Task

PassThroughAuthenticationService() 공개 메소드

Initializes a new instance of the PassThroughAuthenticationService class with the specified fixed base address.
/// If is . ///
public PassThroughAuthenticationService ( Uri baseAddress ) : System
baseAddress System.Uri The base address to return from .
리턴 System