MSAL client type
Public, Confidential
Problem Statement
Similar to AzureAD/microsoft-authentication-library-for-java#822, in our Azure SDKs for Python, one of the primary pipeline policies our SDK clients use is the BearerTokenCredentialPolicy. This policy will save a token it retrieves using the passed-in credential and will keep reusing that token until it's close to expiration. We recently added the ability for the policy to request a token sooner if a refresh_on value is set and has elapsed. We'd like to be able to set it if this value is available.
Request: Expose refresh_on where possible.
Proposed solution
No response