C# Class OpenStack.Security.Authentication.PassThroughAuthenticationService

This class defines an IAuthenticationService which passes HTTP requests through unaltered.
Inheritance: IAuthenticationService
Afficher le fichier Open project: crowdy/OpenStack-ConoHa

Méthodes publiques

Méthode Description
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.

Method Details

AuthenticateRequestAsync() public méthode

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
Résultat Task

GetBaseAddressAsync() public méthode

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
Résultat Task

PassThroughAuthenticationService() public méthode

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 .
Résultat System