7 implementations of Protect
Microsoft.AspNetCore.Authentication (1)
SecureDataFormat.cs (1)
29public string Protect(TData data)
Microsoft.AspNetCore.Authentication.Test (6)
GoogleTests.cs (1)
1248public string Protect(AuthenticationProperties data)
OAuthTests.cs (1)
545public string Protect(AuthenticationProperties data)
OpenIdConnect\OpenIdConnectAuthenticateTests.cs (1)
107public string Protect(AuthenticationProperties data)
OpenIdConnect\OpenIdConnectEventTests.cs (1)
1321public string Protect(AuthenticationProperties data)
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
1319public string Protect(AuthenticationProperties data)
WsFederation\CustomStateDataFormat.cs (1)
16public string Protect(AuthenticationProperties data)
8 references to Protect
Microsoft.AspNetCore.Authentication.Google (1)
GoogleHandler.cs (1)
82queryStrings["state"] = Options.StateDataFormat.Protect(properties);
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
MicrosoftAccountHandler.cs (1)
95var state = Options.StateDataFormat.Protect(properties);
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthHandler.cs (1)
329parameters["state"] = Options.StateDataFormat.Protect(properties);
Microsoft.AspNetCore.Authentication.OpenIdConnect (3)
OpenIdConnectHandler.cs (3)
268message.State = Options.StateDataFormat.Protect(properties); 480message.State = Options.StateDataFormat.Protect(properties); 1165Options.NonceCookie.Name + Options.StringDataFormat.Protect(nonce),
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
177Response.Cookies.Append(Options.StateCookie.Name!, Options.StateDataFormat.Protect(requestToken), cookieOptions);
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationHandler.cs (1)
134wsFederationMessage.Wctx = Uri.EscapeDataString(Options.StateDataFormat.Protect(properties));