public function getType()
    {
        $config = Config::get('shopify-app.api_grant_mode');
        if ($config === self::GRANT_PERUSER) {
            return self::GRANT_PERUSER;
        }

        return self::GRANT_OFFLINE;
    }