Method | Description | |
---|---|---|
CreateFromResourceUrlAsync ( |
Creates authentication parameters from address of the resource. This method expects the resource server to return unauthorized response with WWW-Authenticate header containing authentication parameters.
|
|
CreateFromResponseAuthenticateHeader ( string authenticateHeader ) : |
Creates authentication parameters from the WWW-Authenticate header in response received from resource. This method expects the header to contain authentication parameters.
|
|
CreateFromUnauthorizedResponseAsync ( |
Creates authentication parameters from the response received from the response received from the resource. This method expects the response to have unauthorized status and WWW-Authenticate header containing authentication parameters.
|
Method | Description | |
---|---|---|
CreateFromResourceUrlCommonAsync ( |
||
CreateFromUnauthorizedResponseCommon ( IHttpWebResponse response ) : |
public static CreateFromResourceUrlAsync ( |
||
resourceUrl | Address of the resource | |
return | Task |
public static CreateFromResponseAuthenticateHeader ( string authenticateHeader ) : |
||
authenticateHeader | string | Content of header WWW-Authenticate header |
return |
public static CreateFromUnauthorizedResponseAsync ( |
||
responseMessage | Response received from the resource (e.g. via an http call using HttpClient). | |
return | Task |