4 references to Protect
Microsoft.AspNetCore.Components.Endpoints (1)
Builder\OpaqueRedirection.cs (1)
47
var protectedUrl = protector.
Protect
(destinationUrl, lifetime);
Microsoft.AspNetCore.Components.Server.Tests (2)
Circuits\ServerComponentDeserializerTest.cs (2)
262
missingUnknownComponentTypeMarker[0].Descriptor = _protector.
Protect
(
279
missingUnknownComponentTypeMarker[0].Descriptor = _protector.
Protect
(
Microsoft.AspNetCore.DataProtection.Extensions.Tests (1)
DataProtectionAdvancedExtensionsTests.cs (1)
48
string protectedPayload = mockDataProtector.Object.
Protect
("this is plaintext", TimeSpan.FromHours(48));