boolean_smtp_microsoft_authorize_url
Filters the Microsoft identity platform authorize URL used for delegated OAuth.
filter Tier B Since 1.0.0
Signature
add_filter( 'boolean_smtp_microsoft_authorize_url', $callback, 10, 2 );Parameters
| Parameter | Type | Description |
|---|---|---|
$url | string | Default authorize endpoint for the given tenant. |
$tenant | string | Microsoft tenant id, domain, or `common`/`organizations`/`consumers`. |
Returns string — The filtered URL.
Fires in
app/Http/Controllers/OAuthController.php:634—BooleanSmtp\Http\Controllers\OAuthController::microsoftAuthorizeUrl()
Example
add_filter( 'boolean_smtp_microsoft_authorize_url', function ( string $url, string $tenant ) { return $url;}, 10, 2 );Next steps
- Connections and OAuth — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.