コード例 #1
0
 public AuthenticationService(ProcessExplorerDbContext context,
                              UserManager <IdentityAppUser> userManager,
                              ITokenManager tokenManager,
                              IOptions <AuthenticationOptions> authOptions,
                              ILogger <AuthenticationService> log,
                              RoleManager <IdentityAppRole> roleManager,
                              IUnitOfWork work,
                              ICurrentUserService currentUser,
                              IDateTime time)
 {
     _context      = context;
     _userManager  = userManager;
     _tokenManager = tokenManager;
     _authOptions  = authOptions.Value;
     _log          = log;
     _roleManager  = roleManager;
     _work         = work;
     _user         = currentUser;
     _time         = time;
 }
コード例 #2
0
 public SessionRepository(ProcessExplorerDbContext context) : base(context)
 {
 }