Метод | Описание | |
---|---|---|
AuthenticateRequestAsync ( |
This implementation calls IsAuthenticatedCall to determine whether or not a particular HTTP API call should be treated as an "authenticated" call. The behavior of this method depends on the result of that method, as shown in the following table.
|
|
GetBaseAddressAsync ( string serviceType, string serviceName, string region, bool internalAddress, |
The base implementation always uses AuthenticatedCallsService to provide the behavior for this method. |
Метод | Описание | |
---|---|---|
DelegatingPartialAuthenticationService ( IAuthenticationService authenticatedCallsService, IAuthenticationService unauthenticatedCallsService ) : System |
Initializes a new instance of the DelegatingPartialAuthenticationService class with the specified delegate authentication service implementations to use for authenticating calls made from a client.
|
|
IsAuthenticatedCall ( |
Determines whether or not a particular HTTP API call should be treated as an authenticated call or an unauthenticated call.
|
public AuthenticateRequestAsync ( |
||
requestMessage | ||
cancellationToken | ||
Результат | Task |
protected DelegatingPartialAuthenticationService ( IAuthenticationService authenticatedCallsService, IAuthenticationService unauthenticatedCallsService ) : System | ||
authenticatedCallsService | IAuthenticationService | /// The authentication service to use for authenticated HTTP API calls. /// |
unauthenticatedCallsService | IAuthenticationService | /// The authentication service to use for unauthenticated HTTP API calls. /// |
Результат | System |
public GetBaseAddressAsync ( string serviceType, string serviceName, string region, bool internalAddress, |
||
serviceType | string | |
serviceName | string | |
region | string | |
internalAddress | bool | |
cancellationToken | ||
Результат | Task |
protected abstract IsAuthenticatedCall ( |
||
requestMessage | The |
|
Результат | bool? |