dotnet / dotnet/AspNetCore.Docs
When is IClaimsTransformation called?
- Dominant language
- C#
- Stars
- 13.1k
- Forks
- 24.6k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 97
Description
### 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](https://github.com/dotnet/aspnetcore/blob/3f1acb59718cadf111a0a796681e3d3509bb3381/src/Http/Authentication.Core/src/AuthenticationService.cs#L92) ;-)?
### 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](https://github.com/dotnet/AspNetCore.Docs/issues?q=is%3Aissue+is%3Aopen+b01e1351-d362-fd61-4dcb-bacb21559f76)
Contributor guide
Assessment
This issue has not been assessed yet.