Module telescope::web::csrf[][src]

Expand description

Cross Site Request Forging protection via a global static DashMap.


A zero sized struct to act as an actor and run every hour cleaning up expired CSRF tokens.


Extract the remote IP address string from an HTTP request’s headers.

Get the CSRF Token for a request’s IP from the global CSRF map.

Get the global lazy static CSRF map.

Save a CSRF token linked to the remote IP of the Http Request that created it.

Verify a CSRF token returned from an Identity provider. If there is an issue return a TelescopeError.