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

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

        return self::GRANT_OFFLINE;
    }
Determines the type of access.

@return string