Add comment for claims transform
This commit is contained in:
parent
5128efe0e8
commit
bab16971ae
|
|
@ -12,7 +12,9 @@ namespace Microsoft.AspNetCore.Authentication
|
||||||
public interface IClaimsTransformation
|
public interface IClaimsTransformation
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
/// <param name="principal">The <see cref="ClaimsPrincipal"/> to transform.</param>
|
/// <param name="principal">The <see cref="ClaimsPrincipal"/> to transform.</param>
|
||||||
/// <returns>The transformed principal.</returns>
|
/// <returns>The transformed principal.</returns>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue