in src/CacheIdentityClient.cs [58:63]
internal static ICacheIdentityClient CreateForTokenCredential(TokenCredential tokenCredential, string scope)
{
var tokenRequestContext = new TokenRequestContext(new[] { scope });
return new CacheIdentityClient(getToken: () => tokenCredential.GetTokenAsync(tokenRequestContext, CancellationToken.None));
}