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