Click or drag to resize

HttpConfigurationExtensions Methods

The HttpConfigurationExtensions type exposes the following members.

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