7 implementations of Protect
Microsoft.AspNetCore.Authentication (1)
SecureDataFormat.cs (1)
35
public string
Protect
(TData data, string? purpose)
Microsoft.AspNetCore.Authentication.Test (6)
GoogleTests.cs (1)
1253
public string
Protect
(AuthenticationProperties data, string purpose)
OAuthTests.cs (1)
550
public string
Protect
(AuthenticationProperties data, string purpose)
OpenIdConnect\OpenIdConnectAuthenticateTests.cs (1)
112
public string
Protect
(AuthenticationProperties data, string purpose)
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1326
public string
Protect
(AuthenticationProperties data, string purpose)
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1324
public string
Protect
(AuthenticationProperties data, string purpose)
WsFederation\CustomStateDataFormat.cs (1)
22
public string
Protect
(AuthenticationProperties data, string purpose)
2 references to Protect
Microsoft.AspNetCore.Authentication.Cookies (2)
CookieAuthenticationHandler.cs (2)
272
var cookieValue = Options.TicketDataFormat.
Protect
(ticket, GetTlsTokenBinding());
356
var cookieValue = Options.TicketDataFormat.
Protect
(ticket, GetTlsTokenBinding());