Package com.codename1.backend.security.oauth2.client.credentials


package com.codename1.backend.security.oauth2.client.credentials

Access tokens this server obtains to call other services: the OAuth2 client credentials grant, the JWT bearer grant of RFC 7523, and Google service accounts, without a provider SDK.

A grant (ClientCredentialsGrant, JwtBearerGrant) performs one exchange; an AccessTokenProvider caches its token, refreshes it ahead of expiry, shares a refresh among concurrent callers and backs off after a failure.