Cognito token management: fetch, cache, refresh, and coalesce concurrent refreshes.
Ensure a valid token exists, refreshing if necessary Uses promise coalescing to prevent duplicate requests
Get the Cognito authorization header name
Get the current token if valid
Cognito token management: fetch, cache, refresh, and coalesce concurrent refreshes.