let _accessToken = null;
/**
* Set the current OAuth access token for Bearer authentication.
* @param {string|null} token
*/
export function setAccessToken(token) {
_accessToken = token || null;
}
/**
* Get the current access token.
* @returns {string|null}
*/
export function getAccessToken() {
return _accessToken;
}
/**
* Clear the stored access token.
*/
export function clearAccessToken() {
_accessToken = null;
}