// src/actions/oauth/authorize.php - Generate URL for OAuth
use SevenShores\Hubspot\Utils\OAuth2;
$authUrl = OAuth2::getAuthUrl(
'ClientID',
'Redirect Uri',
['Scopes']
);
// src/actions/oauth/authorize.php - Generate URL for OAuth
use SevenShores\Hubspot\Utils\OAuth2;
$authUrl = OAuth2::getAuthUrl(
'ClientID',
'Redirect Uri',
['Scopes']
);