4 references to UnprotectCore
Microsoft.AspNetCore.DataProtection.Extensions (1)
TimeLimitedDataProtector.cs (1)
64
return
UnprotectCore
(protectedData, DateTimeOffset.UtcNow, out expiration);
Microsoft.AspNetCore.DataProtection.Extensions.Tests (3)
TimeLimitedDataProtectorTests.cs (3)
81
var retVal = timeLimitedProtector.
UnprotectCore
(new byte[] { 0x10, 0x11 }, now, out var actualExpiration);
106
=> timeLimitedProtector.
UnprotectCore
(new byte[] { 0x10, 0x11 }, now, out var _));
166
timeLimitedProtector.
UnprotectCore
(timeLimitedProtectedPayload, StringToDateTime("2010-01-01 00:00:00Z"), out var actualExpiration));