2 implementations of ILookupProtector
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
UserStoreEncryptPersonalDataTest.cs (2)
46
private class SillyEncryptor :
ILookupProtector
98
private class InkProtector :
ILookupProtector
13 references to ILookupProtector
Microsoft.Extensions.Identity.Core (13)
DefaultPersonalDataProtector.cs (3)
11
/// and <see cref="
ILookupProtector
"/> to protect data with a payload format of {keyId}:{protectedData}
16
private readonly
ILookupProtector
_encryptor;
23
public DefaultPersonalDataProtector(ILookupProtectorKeyRing keyRing,
ILookupProtector
protector)
IdentityBuilder.cs (3)
220
/// Adds an <see cref="
ILookupProtector
"/> and <see cref="ILookupProtectorKeyRing"/>.
226
where TProtector : class,
ILookupProtector
230
Services.AddSingleton<
ILookupProtector
, TProtector>();
UserManager.cs (7)
128
if (services?.GetService<
ILookupProtector
>() == null)
544
var
protector = _services.GetService<
ILookupProtector
>();
609
var
protector = _services.GetRequiredService<
ILookupProtector
>();
1299
var
protector = _services.GetService<
ILookupProtector
>();