Dela via


JwtBearerOptions.RequireHttpsMetadata Property

Definition

Gets or sets if HTTPS is required for the metadata address or authority. The default is true. This should be disabled only in development environments.

public:
 property bool RequireHttpsMetadata { bool get(); void set(bool value); };
public bool RequireHttpsMetadata { get; set; }
member this.RequireHttpsMetadata : bool with get, set
Public Property RequireHttpsMetadata As Boolean

Property Value

Applies to