RemoteAuthenticationOptions.SaveTokens Property

Definition

Defines whether access and refresh tokens should be stored in the AuthenticationProperties after a successful authorization. This property is set to false by default to reduce the size of the final authentication cookie.

C#
public bool SaveTokens { get; set; }

Property Value

Applies to

Proizvod Verzije
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0