11 references to CreateProtector
Microsoft.AspNetCore.Authentication.Cookies (1)
PostConfigureCookieAuthenticationOptions.cs (1)
43var dataProtector = options.DataProtectionProvider.CreateProtector("Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware", name, "v2");
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthPostConfigureOptions.cs (1)
46var dataProtector = options.DataProtectionProvider.CreateProtector(
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectPostConfigureOptions.cs (2)
47var dataProtector = options.DataProtectionProvider.CreateProtector( 54var dataProtector = options.DataProtectionProvider.CreateProtector(
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterPostConfigureOptions.cs (1)
39var dataProtector = options.DataProtectionProvider.CreateProtector(
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationPostConfigureOptions.cs (1)
47var dataProtector = options.DataProtectionProvider.CreateProtector(
Microsoft.AspNetCore.DataProtection.Abstractions (2)
DataProtectionCommonExtensions.cs (2)
139/// then <see cref="CreateProtector(IDataProtectionProvider, string, string[])"/>. See those methods' 147return services.GetDataProtectionProvider().CreateProtector(purpose, subPurposes);
Microsoft.AspNetCore.DataProtection.Abstractions.Tests (3)
DataProtectionCommonExtensionsTests.cs (3)
47testCode: () => provider.CreateProtector("primary-purpose", subPurposes), 86var retVal = firstMock.Object.CreateProtector("first", "second", "third"); 103var retVal = firstMock.Object.CreateProtector("first", subPurposes);