7 implementations of IClaimsTransformation
ClaimsTransformation (1)
ClaimsTransformer.cs (1)
12public class ClaimsTransformer : IClaimsTransformation
Microsoft.AspNetCore.Authentication.Core (1)
NoopClaimsTransformation.cs (1)
11public class NoopClaimsTransformation : IClaimsTransformation
Microsoft.AspNetCore.Authentication.Core.Test (1)
AuthenticationServiceTests.cs (1)
243private class RunOnce : IClaimsTransformation
Microsoft.AspNetCore.Authentication.Test (3)
CookieTests.cs (1)
1772private class ClaimsTransformer : IClaimsTransformation
GoogleTests.cs (1)
1130private class ClaimsTransformer : IClaimsTransformation
SharedAuthenticationTests.cs (1)
205private class RunOnce : IClaimsTransformation
ServerComparison.TestSites (1)
OneTransformPerRequest.cs (1)
12public class OneTransformPerRequest : IClaimsTransformation
9 references to IClaimsTransformation
ClaimsTransformation (1)
Startup.cs (1)
37services.AddTransient<IClaimsTransformation, ClaimsTransformer>();
Microsoft.AspNetCore.Authentication.Core (4)
AuthenticationCoreServiceCollectionExtensions.cs (1)
24services.TryAddSingleton<IClaimsTransformation, NoopClaimsTransformation>(); // Can be replaced with scoped ones that use DbContext
AuthenticationService.cs (3)
23/// <param name="transform">The <see cref="IClaimsTransformation"/>.</param> 25public AuthenticationService(IAuthenticationSchemeProvider schemes, IAuthenticationHandlerProvider handlers, IClaimsTransformation transform, IOptions<AuthenticationOptions> options) 46public IClaimsTransformation Transform { get; }
Microsoft.AspNetCore.Authentication.Core.Test (1)
AuthenticationServiceTests.cs (1)
35.AddSingleton<IClaimsTransformation>(transform)
Microsoft.AspNetCore.Authentication.Test (3)
CookieTests.cs (1)
1803s.AddSingleton<IClaimsTransformation, ClaimsTransformer>();
GoogleTests.cs (1)
1228services.AddTransient<IClaimsTransformation, ClaimsTransformer>();
SharedAuthenticationTests.cs (1)
220var builder = services.AddSingleton<IClaimsTransformation>(transform).AddAuthentication(o =>