Account_API::get_token_authorization_header( $access_token = '' )
Returns the access token based authorization header to send requests to the Zoom API.
Return
(string|boolean) The authorization header, to be used in the headers section of a request to Zoom API or false if not available.
Source
File: src/Tribe/Meetings/Zoom/Account_API.php
public function get_token_authorization_header( $access_token = '' ) {
if ( $access_token ) {
return 'Bearer ' . $access_token;
}
if ( $this->access_token ) {
return 'Bearer ' . $this->access_token;
}
return false;
}
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |