public ADFSSecurityTokenProvider(
     IHttpClientFactory httpClientFactory,
     IOptions <DynamicsOptions> options,
     ICache cache,
     ILogger <ADFSSecurityTokenProvider> logger)
 {
     this.httpClientFactory = httpClientFactory;
     this.options           = options.Value;
     this.cache             = cache;
     this.logger            = logger;
 }
Example #2
0
 public DynamicsODataClientHandler(IOptions <DynamicsOptions> options, ISecurityTokenProvider tokenProvider)
 {
     this.options       = options.Value;
     this.tokenProvider = tokenProvider;
 }
Example #3
0
 public ADFSSecurityTokenProvider(IHttpClientFactory httpClientFactory, IOptions <DynamicsOptions> options)
 {
     this.options           = options.Value;
     this.httpClientFactory = httpClientFactory;
 }
 public DynamicsODataClientHandler(IOptions <DynamicsOptions> options)
 {
     this.options = options.Value;
 }
 public EssContextFactory(IODataClientFactory odataClientFactory, IOptions <DynamicsOptions> dynamicsOptions)
 {
     this.odataClientFactory = odataClientFactory;
     this.dynamicsOptions    = dynamicsOptions.Value;
 }