Add comment for claims transform

This commit is contained in:
Hao Kung 2017-09-20 13:04:06 -07:00 committed by Hao Kung
parent 5128efe0e8
commit bab16971ae
1 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,9 @@ namespace Microsoft.AspNetCore.Authentication
public interface IClaimsTransformation
{
/// <summary>
/// Provides a central transformation point to change the specified principal.
/// Provides a central transformation point to change the specified principal.
/// Note: this will be run on each AuthenticateAsync call, so its safer to
/// return a new ClaimsPrincipal if your transformation is not idempotent.
/// </summary>
/// <param name="principal">The <see cref="ClaimsPrincipal"/> to transform.</param>
/// <returns>The transformed principal.</returns>