2 references to Protect
Microsoft.AspNetCore.DataProtection.Extensions (1)
DataProtectionAdvancedExtensions.cs (1)
61return Protect(protector, plaintext, DateTimeOffset.Now + lifetime);
Microsoft.AspNetCore.DataProtection.Extensions.Tests (1)
DataProtectionAdvancedExtensionsTests.cs (1)
26string protectedPayload = mockDataProtector.Object.Protect("this is plaintext", expiration);