Firesphere\GraphQLJWT\Authentication\JWTAuthenticator::validateToken
Signature
public function validateToken(string
$token,
HTTPRequest
$request )
Parameters
$token
— string$request
— SilverStripe\Control\HTTPRequest
Returns
- array|null
- Array with JWTRecord and int status (STATUS_*)