2 references to Create
Microsoft.AspNetCore.DataProtection.Extensions.Tests (2)
DataProtectionProviderTests.cs (2)
34
var protector = DataProtectionProvider.
Create
(directory).CreateProtector("purpose");
198
var keylessUnprotector = DataProtectionProvider.
Create
(directory).CreateProtector("purpose");