HttpBearerChallenge.IsBearerChallenge Method
Tests whether an authentication header is a Bearer challenge
Namespace: Microsoft.KeyVault.Client.Authentication
Assembly: Microsoft.KeyVault.Client (in Microsoft.KeyVault.Client.dll)
Syntax
'Declaration
public static bool IsBearerChallenge (
string challenge
)
Parameters
- challenge
The AuthenticationHeaderValue to test
Return Value
True if the header is a Bearer challenge
Remarks
This method is forgiving: if the parameter is null, or the scheme in the header is missing, then it will simply return false.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
HttpBearerChallenge Class
HttpBearerChallenge Members
Microsoft.KeyVault.Client.Authentication Namespace