An object that stores the required security token data in order to populate it within the request. It contains where to place the token, whether it is a cookie or a header, the name of the header/cookie, and the token value itself.

Full documentation

Full documentation

Returns the name of the header/cookie in the request. For example, For example, if the token should be placed in a cookie in the request, then the name must be the cookie name.

Full documentation

Return where the security data should be placed. For example, if the token should be placed in a cookie then the type will be COOKIE.

Full documentation

Return the security token value.

Full documentation

Set the name of the header/cookie in the request. For example, For example, if the token should be placed in a cookie in the request, then the name must be the cookie name.

Full documentation

Set where the security data should be placed. For example, if the token should be placed in a cookie then the type will be COOKIE.

Full documentation

Set the security token value.

Full documentation

Full documentation