Esempio n. 1
0
 public BrokerSilentStrategy(
     SilentRequest request,
     IServiceBundle serviceBundle,
     AuthenticationRequestParameters authenticationRequestParameters,
     AcquireTokenSilentParameters silentParameters,
     IBroker broker)
 {
     _authenticationRequestParameters = authenticationRequestParameters;
     _silentParameters = silentParameters;
     _serviceBundle    = serviceBundle;
     _silentRequest    = request;
     Broker            = broker ?? throw new ArgumentNullException(nameof(broker));
     _logger           = authenticationRequestParameters.RequestContext.Logger;
 }
Esempio n. 2
0
 public SilentBrokerAuthStrategy(
     SilentRequest request,
     IServiceBundle serviceBundle,
     AuthenticationRequestParameters authenticationRequestParameters,
     AcquireTokenSilentParameters silentParameters,
     IBroker broker)
 {
     _authenticationRequestParameters = authenticationRequestParameters;
     _silentParameters = silentParameters;
     _serviceBundle    = serviceBundle;
     _silentRequest    = request;
     Broker            = broker;
     _logger           = authenticationRequestParameters.RequestContext.Logger;
 }