2 implementations of Protect
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
UserStoreEncryptPersonalDataTest.cs (2)
62
public string
Protect
(string keyId, string data)
105
public string
Protect
(string keyId, string data)
4 references to Protect
Microsoft.Extensions.Identity.Core (4)
DefaultPersonalDataProtector.cs (1)
55
return current + ":" + _encryptor.
Protect
(current, data);
UserManager.cs (3)
549
var oldKey = protector.
Protect
(key, userName);
610
return protector.
Protect
(keyRing.CurrentKeyId, data);
1304
var oldKey = protector.
Protect
(key, email);