RequireHttpsAttribute Methods

The RequireHttpsAttribute type exposes the following members.

  Name Description
Public method Equals (Inherited from Attribute.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Protected method HandleNonHttpsRequest Handles unsecured HTTP requests that are sent to the action method.
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OnAuthorization Determines whether a request is secured (HTTPS) and, if it is not, calls the HandleNonHttpsRequest method.
Public method ToString (Inherited from Object.)