ICSRFManager Interface

Relativity API
Helper to enforce CSRF(Cross Site Request Forgery) support.

Namespace:  Relativity.API
Assembly:  Relativity.API (in Relativity.API.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

public interface ICSRFManager

The ICSRFManager type exposes the following members.

Properties

  NameDescription
Public propertyCSRFHeaderName
This gets you the Header Name that the CSRF should be submitted as.
Public propertyCSRFToken
Gets you the CSRF token used for the users sessions. This lets put the CSRF on your Custom Page.
Top
Methods

  NameDescription
Public methodCheckAgainstCSRF
This will check that the current request has the CSRF.
Public methodCheckCSRF
This will check that the current request has the CSRF.
Top
See Also

Reference