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/Experimental/JsonWebTokenHandler.DecryptToken.cs
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@
5
5
usingSystem.Collections.Generic;
6
6
usingSystem.Linq;
7
7
usingSystem.Text;
8
-
usingMicrosoft.Identity.Abstractions;
9
8
usingMicrosoft.IdentityModel.Logging;
10
9
usingMicrosoft.IdentityModel.Tokens;
11
10
usingMicrosoft.IdentityModel.Tokens.Experimental;
@@ -23,8 +22,8 @@ public partial class JsonWebTokenHandler : TokenHandler
23
22
/// <param name="validationParameters">The <see cref="TokenValidationParameters"/> to be used for validating the token.</param>
24
23
/// <param name="configuration">The <see cref="BaseConfiguration"/> to be used for validating the token.</param>
25
24
/// <param name="callContext">A <see cref="CallContext"/> that contains call information.</param>
26
-
/// <returns>An <see cref="OperationResult{TResult, TError}"/> with OperationResult.Result containing the clear text or a <see cref="ValidationError"/>.</returns>
/// <returns>An <see cref="ValidationResult{TResult, TError}"/> with ValidationResult.Result containing the clear text or a <see cref="ValidationError"/>.</returns>
/// Converts a string into an instance of <see cref="JsonWebToken"/>, returned inside of a <see cref="OperationResult{SecurityToken, ValidationError}"/>.
15
+
/// Converts a string into an instance of <see cref="JsonWebToken"/>, returned inside of a <see cref="ValidationResult{SecurityToken, ValidationError}"/>.
17
16
/// </summary>
18
17
/// <param name="token">A JSON Web Token (JWT) in JWS or JWE Compact Serialization format.</param>
19
18
/// <param name="callContext"></param>
20
-
/// <returns>A <see cref="OperationResult{SecurityToken, ValidationError}"/> with the <see cref="JsonWebToken"/> or a <see cref="ValidationError"/>.</returns>
/// <returns>A <see cref="ValidationResult{SecurityToken, ValidationError}"/> with the <see cref="JsonWebToken"/> or a <see cref="ValidationError"/>.</returns>
Copy file name to clipboardExpand all lines: src/Microsoft.IdentityModel.JsonWebTokens/Experimental/JsonWebTokenHandler.ValidateSignature.cs
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@
4
4
usingSystem;
5
5
usingSystem.Collections.Generic;
6
6
usingSystem.Text;
7
-
usingMicrosoft.Identity.Abstractions;
8
7
usingMicrosoft.IdentityModel.Logging;
9
8
usingMicrosoft.IdentityModel.Tokens;
10
9
usingMicrosoft.IdentityModel.Tokens.Experimental;
@@ -23,8 +22,8 @@ public partial class JsonWebTokenHandler : TokenHandler
23
22
/// <param name="validationParameters">The parameters used for validation.</param>
24
23
/// <param name="configuration">The optional configuration used for validation.</param>
25
24
/// <param name="callContext">The context in which the method is called.</param>
26
-
/// <returns>A <see cref="OperationResult{SecurityKey, ValidationError}"/> with the <see cref="SecurityKey"/> that signed the tokenif valid or a <see cref="ValidationError"/>.</returns>
/// <returns>A <see cref="ValidationResult{SecurityKey, ValidationError}"/> with the <see cref="SecurityKey"/> that signed the tokenif valid or a <see cref="ValidationError"/>.</returns>
0 commit comments