Esempio n. 1
0
 public GraphService(TokenService tokenService, IOptions <AzureAdOptions> adOptions)
 {
     _tokenService = tokenService;
     _adOptions    = adOptions.Value;
 }
Esempio n. 2
0
 public ApiService(TokenService tokenService, IOptions <ApiOptions> apiOptions, IOptions <AzureAdOptions> adOptions)
 {
     _tokenService   = tokenService;
     _apiOptions     = apiOptions.Value;
     _azureAdOptions = adOptions.Value;
 }