7 implementations of Protect
Microsoft.AspNetCore.Authentication (1)
SecureDataFormat.cs (1)
35public string Protect(TData data, string? purpose)
Microsoft.AspNetCore.Authentication.Test (6)
GoogleTests.cs (1)
1260public string Protect(AuthenticationProperties data, string purpose)
OAuthTests.cs (1)
557public string Protect(AuthenticationProperties data, string purpose)
OpenIdConnect\OpenIdConnectAuthenticateTests.cs (1)
112public string Protect(AuthenticationProperties data, string purpose)
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1326public string Protect(AuthenticationProperties data, string purpose)
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1324public string Protect(AuthenticationProperties data, string purpose)
WsFederation\CustomStateDataFormat.cs (1)
22public string Protect(AuthenticationProperties 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());