From 7615d897c801a48c0949e3a75c5a89c15393b3fe Mon Sep 17 00:00:00 2001
From: Baltima <130716409+Baltima@users.noreply.github.com>
Date: Sat, 15 Apr 2023 10:51:42 +0300
Subject: [PATCH] Update XML documentation of
JsonWebTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
---
.../JsonWebTokenHandler.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Microsoft.IdentityModel.JsonWebTokens/JsonWebTokenHandler.cs b/src/Microsoft.IdentityModel.JsonWebTokens/JsonWebTokenHandler.cs
index 92cf3ea839..3d1188f17e 100644
--- a/src/Microsoft.IdentityModel.JsonWebTokens/JsonWebTokenHandler.cs
+++ b/src/Microsoft.IdentityModel.JsonWebTokens/JsonWebTokenHandler.cs
@@ -235,10 +235,10 @@ public virtual string CreateToken(string payload, SigningCredentials signingCred
}
///
- /// Creates a JWS(Json Web Signature).
+ /// Creates a JWS (Json Web Signature) or a JWE (Json Web Encryption).
///
/// A that contains details of contents of the token.
- /// A JWS in Compact Serialization Format.
+ /// A JWS in Compact Serialization Format or a JWE if is specified.
public virtual string CreateToken(SecurityTokenDescriptor tokenDescriptor)
{
if (tokenDescriptor == null)