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