Exemple #1
0
        internal MsalTokenProvider(string authority, string resource, string clientId, ILogger logger)
        {
            this.authority = authority;
            this.resource  = resource;
            this.clientId  = clientId;
            this.Logger    = logger;

            this.cacheEnabled  = EnvUtil.MsalFileCacheEnabled();
            this.cacheLocation = this.cacheEnabled ? EnvUtil.GetMsalCacheLocation() : null;
        }