ClaimsChallengeUtilities.TryParseClaimsChallenge(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.