HttpBearerChallenge Class

Definition

Handles http bearer challenge operations

public sealed class HttpBearerChallenge
type HttpBearerChallenge = class
Public NotInheritable Class HttpBearerChallenge
Inheritance
HttpBearerChallenge

Constructors

HttpBearerChallenge(Uri, String)

Parses an HTTP WWW-Authentication Bearer challenge from a server.

Properties

AuthorizationServer

Returns the URI for the Authorization server if present, otherwise string.Empty

Resource

Returns the Realm value if present, otherwise the Authority of the request URI given in the ctor

Scope

Returns the Scope value if present, otherwise string.Empty

SourceAuthority

The Authority of the request URI

SourceUri

The source URI

Methods

IsBearerChallenge(String)

Tests whether an authentication header is a Bearer challenge

TryGetValue(String, String)

Returns the value stored at the specified key.

Applies to