4 references to Protect
Microsoft.AspNetCore.Authentication.DeviceBoundSessions (2)
DeviceBoundSessionChallengeProtector.cs (2)
39return WebEncoders.Base64UrlEncode(_registrationProtector.Protect(writer.Encode(), lifetime)); 48return WebEncoders.Base64UrlEncode(_refreshProtector.Protect(writer.Encode(), lifetime));
Microsoft.AspNetCore.Components.Endpoints (1)
src\aspnetcore\src\Shared\Components\ServerComponentSerializer.cs (1)
53var protectedBytes = _dataProtector.Protect(serializedServerComponentBytes, dataExpiration);
Microsoft.AspNetCore.Components.Server (1)
src\aspnetcore\src\Shared\Components\ServerComponentSerializer.cs (1)
53var protectedBytes = _dataProtector.Protect(serializedServerComponentBytes, dataExpiration);