Share via


AntiForgeryConfig.RequireSsl Property

Definition

Gets or sets a value that indicates whether the anti-forgery cookie requires SSL in order to be returned to the server.

public static bool RequireSsl { get; set; }
member this.RequireSsl : bool with get, set
Public Shared Property RequireSsl As Boolean

Property Value

true if SSL is required to return the anti-forgery cookie to the server; otherwise, false.

Applies to