src/Auth0/Login/Auth0UserProvider.php
public function retrieveByCredentials(array $credentials)
    {
        if (!isset($credentials['api_token'])) {
            return false;
        }

        $encUser = $credentials['api_token'];

        try {
            $decodedJWT = $this->auth0->decodeJWT($encUser);
        } catch (CoreException $e) {
            return null;
        } catch (InvalidTokenException $e) {
            return null;
        }

        return $this->userRepository->getUserByDecodedJWT($decodedJWT);
    }
public function retrieveByCredentials(array $credentials)
    {
        if (!isset($credentials['api_token'])) {
            return false;
        }

        $encUser = $credentials['api_token'];

        try {
            $decodedJWT = $this->auth0->decodeJWT($encUser);
        } catch (CoreException $e) {
            return null;
        } catch (InvalidTokenException $e) {
            return null;
        }

        return $this->userRepository->getUserByDecodedJWT($decodedJWT);
    }
@param array $credentials

@return bool|Authenticatable