1 implementation of Protect
Microsoft.AspNetCore.Authentication (1)
SecureDataFormat.cs (1)
35public string Protect(TData data, string? purpose)
2 references to Protect
Microsoft.AspNetCore.Authentication.Cookies (2)
CookieAuthenticationHandler.cs (2)
272var cookieValue = Options.TicketDataFormat.Protect(ticket, GetTlsTokenBinding()); 356var cookieValue = Options.TicketDataFormat.Protect(ticket, GetTlsTokenBinding());