/// <summary>
 /// Implements an identity service which reads from the HttpContext to integrate with Azure Active Directory
 /// </summary>
 public AzureADIdentityService(
     IOptions <AzureADIdentityServiceConfiguration> configuration,
     IHttpContextAccessor httpContextAccessor)
 {
     Configuration        = configuration.Value;
     _httpContextAccessor = httpContextAccessor;
 }
Пример #2
0
 /// <summary>
 /// Implements user management and role controls for an identity service which reads from the HttpContext to integrate with Azure Active Directory
 /// </summary>
 public AzureADIdentityServiceManager(
     IOptions <AzureADIdentityServiceConfiguration> configuration,
     IIdentityService identityService,
     ILogger <AzureADIdentityServiceManager> logger)
 {
     Configuration    = configuration.Value;
     _identityService = identityService;
     _logger          = logger;
 }