Click or drag to resize

HttpConfigurationExtensions Class

Represents HttpConfiguration extension functions for GSF authentication middle-ware.
Inheritance Hierarchy
SystemObject
  GSF.Web.SecurityHttpConfigurationExtensions

Namespace: GSF.Web.Security
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax
public static class HttpConfigurationExtensions
View Source

The HttpConfigurationExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodAddRequestVerificationHeaderToken Adds a new anti-forgery request verification token to the headers of the specified request.
Public Extension MethodEnableSessions Adds session management to the HTTP configuration message handlers to enable GSF role-base security.
Public Extension MethodGenerateRequestVerficationHeaderToken Generates an anti-forgery token that can be manually added to an HTTP request header, e.g., from within an AJAX request.
Public Extension MethodGetAuthenticationOptions Retrieves a read-only copy of the authentication options from the specified request.
Public Extension MethodGetOwinContext Retrieves the OWIN context from the specified request.
Public Extension MethodValidateRequestVerificationToken(HttpRequestMessage, Boolean) Validates that the anti-forgery request verification token value comes from the user who submitted the data.
Public Extension MethodValidateRequestVerificationToken(HttpRequestMessage, ReadonlyAuthenticationOptions, Boolean) Validates that the anti-forgery request verification token value comes from the user who submitted the data.
Top
See Also