diamond.security.csrf

Copyright © DiamondMVC 2019

Members

Functions

clearCSRFToken
void clearCSRFToken(HttpClient client)

Clears the csrf token.

generateCSRFToken
string generateCSRFToken(HttpClient client)

Generates a CSRF token.

isValidCSRFToken
bool isValidCSRFToken(HttpClient client, string token, bool removeToken)

Checks whether a token is a valid csrf token for the request.

Meta

Authors

Jacob Jensen (bausshf)