You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caching and management of the lifespan for the Azure.Core.AccessToken is considered the responsibility of the caller: each call should request a fresh token being requested.
Right now we request a new token on every connection:
We are probably saved by connection-pooling but should reuse the token on the next connection opening if it's still valid.
PS: Remember to check if it's valid x seconds into future as there will be some delay from when we check the token expiration until the actual connection is made.
The text was updated successfully, but these errors were encountered:
Right now we request a new token on every connection:
chewbacca/src/Shared/AzureIdentity/AzureAdAuthenticationDbConnectionInterceptor.cs
Line 51 in 2d5a5ae
We are probably saved by connection-pooling but should reuse the token on the next connection opening if it's still valid.
PS: Remember to check if it's valid x seconds into future as there will be some delay from when we check the token expiration until the actual connection is made.
The text was updated successfully, but these errors were encountered: