getUserToken

Learn how to provide the stored user token.

An implementation must return the user token stored for the current visitor, or null when none is set.

Signature

This method has the following signature:

public function getUserToken(): ?Token

This method returns the stored Token, or null when none is set.