Exemplo n.º 1
0
 public TokenController(ILogger <TokenController> logger, IOptionsMonitor <TwilioAccountSettings> accountOptionsAccessor, IOptionsMonitor <TwilioChatSettings> chatOptionsAccessor, IOptionsMonitor <TwilioCallSettings> callOptionsAccessor)
 {
     _logger                = logger;
     _twilioSettings        = accountOptionsAccessor.CurrentValue;
     _twilioServiceSettings = chatOptionsAccessor.CurrentValue;
     _twilioCallSettings    = callOptionsAccessor.CurrentValue;
 }
Exemplo n.º 2
0
 public CallController(IOptionsMonitor <TwilioCallSettings> callOptionsAccessor)
 {
     _twilioCallSettings = callOptionsAccessor.CurrentValue;
 }