Fetches an OAuth access token from Bitbucket Cloud using client credentials flow. Tokens are cached with a 10-minute grace period to account for clock skew. Implements concurrent refresh protection to prevent multiple simultaneous token requests.
OAuth client ID
OAuth client secret
Fetches an OAuth access token from Bitbucket Cloud using client credentials flow. Tokens are cached with a 10-minute grace period to account for clock skew. Implements concurrent refresh protection to prevent multiple simultaneous token requests.