public LogoutController(IIdentityServerInteractionService interaction, IPersistedGrantService persistedGrantService, IAuthUserManager authUserManager, IOptions <AuthAppSettings> appSettings)
 {
     this.interaction           = interaction;
     this.persistedGrantService = persistedGrantService;
     this.authUserManager       = authUserManager;
     this.appSettings           = appSettings.Value;
 }
Example #2
0
        public AccountController(IAuthUserManager authUserManager, ILogger <AccountController> logger, IOptions <AuthAppSettings> appSettings)
        {
            this.appSettings = appSettings.Value;

            if (this.appSettings == null)
            {
                throw new ArgumentNullException("App settings cannot be null");
            }

            this.authUserManager = authUserManager;
            this.log             = logger;
        }
 public LoginController(IIdentityServerInteractionService interaction, ILogger <LoginController> logger, IAuthUserManager authUserManager)
 {
     this.interaction     = interaction;
     this.log             = logger;
     this.authUserManager = authUserManager;
 }
 public UserController(IAuthUserManager authUserManager, ILogger <UserController> logger)
 {
     this.authUserManager = authUserManager;
     this.log             = logger;
 }
Example #5
0
 public ClientController(IClientManager clientManager, IAuthUserManager userManager, ILogger <ClientController> logger)
 {
     this.clientManager = clientManager;
     this.userManager   = userManager;
     this.log           = logger;
 }
Example #6
0
 public SystemActionsRepo(IMongoDatabase mongoDb, IAuthUserManager authUserManager)
 {
     SystemActionsCollection = mongoDb.GetCollection <SystemActionEntity>("systemActions");
 }
Example #7
0
 public IdentityProfileService(IAuthUserManager authUserManager, IUserClaimsPrincipalFactory <AuthUser> claimsFactory)
 {
     this.authUserManager = authUserManager;
     this.claimsFactory   = claimsFactory;
 }
Example #8
0
 public UsersRepo(IMongoDatabase mongoDb, IAuthUserManager authUserManager)
 {
     usersCollection      = mongoDb.GetCollection <UserEntity>("users");
     this.authUserManager = authUserManager;
 }