I have not found any details on whether Azure.Identity
library does cache tokens or not. I am wondering if it properly caches the token per scope and renews it before the expiry or I have to write this functionality myself.
Any pointers to the proper documentation is welcome as well.
There is a SharedTokenCacheCredential
in the library, but I do believe it is something else. I am asking about in-memory caching for performance reasons - to not get a new token each time.