public function getByToken(int $id, string $token, int $type = self::TOKEN_TYPE_REMEMBER) : ?Authenticatable
    {
        return $type === self::TOKEN_TYPE_REMEMBER ?  $this->getByRememberToken($id, $token) : $this->getByApiToken($id, $token);
    }