コード例 #1
0
 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;
 }
コード例 #2
0
 public DynamicsODataClientHandler(IOptions <DynamicsOptions> options, ISecurityTokenProvider tokenProvider)
 {
     this.options       = options.Value;
     this.tokenProvider = tokenProvider;
 }
コード例 #3
0
 public ADFSSecurityTokenProvider(IHttpClientFactory httpClientFactory, IOptions <DynamicsOptions> options)
 {
     this.options           = options.Value;
     this.httpClientFactory = httpClientFactory;
 }
コード例 #4
0
 public DynamicsODataClientHandler(IOptions <DynamicsOptions> options)
 {
     this.options = options.Value;
 }
コード例 #5
0
 public EssContextFactory(IODataClientFactory odataClientFactory, IOptions <DynamicsOptions> dynamicsOptions)
 {
     this.odataClientFactory = odataClientFactory;
     this.dynamicsOptions    = dynamicsOptions.Value;
 }