Url::to_disconnect( string $current_url = null )
Returns the URL to disconnect from the Zoom API.
Contents
The current version (2.0) of Zoom API does not provide a de-authorization endpoint, as such the best way to disconnect the application is to de-authorize its access token.
Parameters
- $current_url
-
(string) (Optional) The URL to return to after a successful disconnection.
Default value: null
Return
(string) The URL to disconnect from the Zoom API.
Source
File: src/Tribe/Meetings/Zoom/Url.php
public function to_disconnect( $current_url = null ) {
return add_query_arg( [
Plugin::$request_slug => wp_create_nonce( OAuth::$deauthorize_nonce_action ),
], Settings::admin_url() );
}
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |