You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/Microsoft.IdentityModel.JsonWebTokens/JsonWebToken.cs
+60
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,29 @@ public JsonWebToken(string jwtEncodedString)
86
86
_encodedToken=jwtEncodedString;
87
87
}
88
88
89
+
/// <summary>
90
+
/// Initializes a new instance of <see cref="JsonWebToken"/> from a ReadOnlyMemory{char} in JWS or JWE Compact serialized format.
91
+
/// </summary>
92
+
/// <param name="encodedTokenMemory">A ReadOnlyMemory{char} containing the JSON Web Token serialized in JWS or JWE Compact format.</param>
93
+
/// <param name="readTokenHeaderValueDelegate">A custom delegate to be called when each header claim is being read. If null, default implementation is called.</param>
94
+
/// <param name="readTokenPayloadValueDelegate">A custom delegate to be called when each payload claim is being read. If null, default implementation is called.</param>
0 commit comments