getUserTokenName

Learn how to get the name of the user token cookie.

This method provides the name of the user token cookie.

Signature

This method has the following signature:

public function getUserTokenName(): string

This method returns the name of the user token cookie.

Example

Here is a basic example of how to use this method:

<?phpuse Croct\Plug\CookieConfiguration;
$configuration = new CookieConfiguration();$name = $configuration->getUserTokenName();