Contains authentication parameters based on unauthorized response from resource server.
public sealed class AuthenticationParameters
type AuthenticationParameters = class
Public NotInheritable Class AuthenticationParameters
Gets or sets the address of the authority to issue token.
Gets or sets the identifier of the target resource that is the recipient of the requested token.
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.
Creates authentication parameters from the WWW-Authenticate header in response received from resource. This method expects the header to contain authentication parameters.
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.
Sends a GET request to the url provided with no Authenticate header. If a 401 Unauthorized is received, this helper will parse the WWW-Authenticate header to retrieve the authority and resource.