CSRF
extends PlatformUtility
in package
Provides access to CSRF utility functions.
Tags
Table of Contents
- getName() : string
- Get the parameter name for the CSRF token.
- getToken() : string|null
- Get the CSRF token for the current request.
Methods
getName()
Get the parameter name for the CSRF token.
public
getName() :
string
The name is what the backend expects the client to send the parameter back as so it can validate the token.
Tags
Return values
string —getToken()
Get the CSRF token for the current request.
public
getToken() :
string|null