Skip to content

Commit

Permalink
added details on Aud claim priority to method summary
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLozensky committed Jun 11, 2024
1 parent 4005f60 commit 6e73309
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,10 @@ int sizeOfEncodedHeaderAndPayloadAsciiBytes
/// <summary>
/// A <see cref="SecurityTokenDescriptor"/> can contain claims from multiple locations.
/// This method consolidates the claims and adds default times {exp, iat, nbf} if needed.
/// In the case of a claim from this set: {Audience, Issuer, Expires, IssuedAt, NotBefore} being defined in multiple
/// locations in the SecurityTokenDescriptor, the following priority is used:
/// SecurityTokenDescriptor.{Audience/Audiences, Issuer, Expires, IssuedAt, NotBefore} > SecurityTokenDescriptor.Claims >
/// SecurityTokenDescriptor.Subject.Claims
/// </summary>
/// <param name="writer">The <see cref="Utf8JsonWriter"/> to use.</param>
/// <param name="tokenDescriptor">The <see cref="SecurityTokenDescriptor"/> used to create the token.</param>
Expand Down

0 comments on commit 6e73309

Please sign in to comment.