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
11 references to IClaimsTransformation
ClaimsTransformation (1)
Startup.cs (1)
37services.AddTransient<IClaimsTransformation, ClaimsTransformer>();
Microsoft.AspNetCore.Authentication.Core (5)
AuthenticationCoreServiceCollectionExtensions.cs (1)
25services.TryAddSingleton<IClaimsTransformation, NoopClaimsTransformation>(); // Can be replaced with scoped ones that use DbContext
AuthenticationService.cs (3)
23/// <param name="transform">The <see cref="IClaimsTransformation"/>.</param> 28IClaimsTransformation transform, 50public IClaimsTransformation Transform { get; }
AuthenticationServiceImpl.cs (1)
14IClaimsTransformation transform,
Microsoft.AspNetCore.Authentication.Core.Test (1)
AuthenticationServiceTests.cs (1)
35.AddSingleton<IClaimsTransformation>(transform)
Microsoft.AspNetCore.Authentication.Test (4)
AuthenticationMetricsTest.cs (1)
337var claimsTransform = new Mock<IClaimsTransformation>();
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 =>