ClaimsChallengeUtilities.TryParseClaimsChallenge(String, String) Method

Definition

Attempts to decode a base64 encoded claims challenge string.

public static bool TryParseClaimsChallenge(string base64Input, out string claimsChallenge);
static member TryParseClaimsChallenge : string * string -> bool
Public Function TryParseClaimsChallenge (base64Input As String, ByRef claimsChallenge As String) As Boolean

Parameters

base64Input
String

The base64 encoded claims challenge string.

claimsChallenge
String

When this method returns, contains the decoded JSON claims challenge string if decoding succeeded; otherwise, null.

Returns

true if the base64 string was successfully decoded into a valid claims challenge; otherwise, false.

Applies to