dotnet / AspNetCore.Docs

Documentation for ASP.NET Core
https://docs.microsoft.com/aspnet/core
Creative Commons Attribution 4.0 International
12.62k stars 25.31k forks source link

When is IClaimsTransformation called? #33863

Open voroninp opened 1 week ago

voroninp commented 1 week ago

Description

It's not clear when IClaimsTransformation.TransformAsync gets called.

Does this happen always or only after authentication handler execution or only after successful authentication ;-)?

Page URL

https://learn.microsoft.com/en-us/aspnet/core/security/authentication/claims?view=aspnetcore-8.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authentication/claims.md

Document ID

b01e1351-d362-fd61-4dcb-bacb21559f76

Article author

@damienbod

Related Issues

voroninp commented 1 week ago

The fact that it is not composed deserves a special NOTE.