C# Класс OpenStack.Security.Authentication.PassThroughAuthenticationService

This class defines an IAuthenticationService which passes HTTP requests through unaltered.
Наследование: IAuthenticationService
Показать файл Открыть проект

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

Метод Описание
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