1 implementation of Protect
Microsoft.AspNetCore.Authentication (1)
SecureDataFormat.cs (1)
29public string Protect(TData data)
10 references to Protect
Microsoft.AspNetCore.Authentication.BearerToken (2)
BearerTokenHandler.cs (2)
73AccessToken = Options.BearerTokenProtector.Protect(CreateBearerTicket(user, properties)), 75RefreshToken = Options.RefreshTokenProtector.Protect(CreateRefreshTicket(user, utcNow)),
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)
273message.State = Options.StateDataFormat.Protect(properties); 485message.State = Options.StateDataFormat.Protect(properties); 1168Options.NonceCookie.Name + Options.StringDataFormat.Protect(nonce),
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
178Response.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));