public UserDataService(IFileService fileService, IIdentityService identityService, IMicrosoftGraphService microsoftGraphService, IOptions <AppConfig> config) { _fileService = fileService; _identityService = identityService; _microsoftGraphService = microsoftGraphService; _config = config.Value; }
public UserDataService(IFileService fileService, IIdentityService identityService, IMicrosoftGraphService microsoftGraphService, Param_ConfigType appConfig) { _fileService = fileService; _identityService = identityService; _microsoftGraphService = microsoftGraphService; _appConfig = Param_ConfigValue; }
public UserDataService(IFileService fileService, IIdentityService identityService, IMicrosoftGraphService microsoftGraphService, AppConfig config) { _fileService = fileService; _identityService = identityService; _microsoftGraphService = microsoftGraphService; _config = config; }
public DeviceCodeAuthProvider(string appId, string[] scopes, IMicrosoftGraphService graphService, string email) { _scopes = scopes; _msalClient = PublicClientApplicationBuilder .Create(appId) .WithAuthority(AadAuthorityAudience.AzureAdAndPersonalMicrosoftAccount, true) .Build(); _graphService = graphService; _email = email; }
public IGraphServiceClient InitializeMail(IMicrosoftGraphService graphService, string email) { try { var authProvider = new DeviceCodeAuthProvider( _configuration.ClientId, _configuration.Scopes.Split(';'), graphService, email); return(new GraphServiceClient(authProvider)); } catch { // logger return(null); } }
public ClaimsTransformation(IMicrosoftGraphService graphService) { _graphService = graphService; }
public ProfileController(IMicrosoftGraphService graphService) { _graphService = graphService; }
public UserDataService(IIdentityService identityService, IMicrosoftGraphService microsoftGraphService) { _identityService = identityService; _microsoftGraphService = microsoftGraphService; }
public UserDataService(IIdentityService identityService, IMicrosoftGraphService microsoftGraphService) { _identityService = identityService; _microsoftGraphService = microsoftGraphService; _identityService.LoggedOut += OnLoggedOut; }