Beispiel #1
0
 public JwtTokenFactory(
     IGetRolesService getRolesService,
     JwtSettings settings)
 {
     _getRolesService = getRolesService;
     _settings        = settings;
 }
Beispiel #2
0
 public RoleController(
     ICreateRoleService createRoleService,
     IUpdateRoleService updateRoleService,
     IGetRolesService getRolesService,
     IGetPermissionsService getPermissionsService)
 {
     this.createRoleService     = createRoleService;
     this.updateRoleService     = updateRoleService;
     this.getRolesService       = getRolesService;
     this.getPermissionsService = getPermissionsService;
 }
 // GET: UserController
 public UserController(IGetUsersService getUsersService, IGetRolesService getRolesService,
                       IRegisterUserService registerUserService, IDeleteUserService deleteUserService,
                       IUserStatusChangeService userStatusChangeService, IEditUserService editUserService)
 {
     _getUsersService         = getUsersService;
     _getRolesService         = getRolesService;
     _registerUserService     = registerUserService;
     _deleteUserService       = deleteUserService;
     _userStatusChangeService = userStatusChangeService;
     _edituserservice         = editUserService;
 }
Beispiel #4
0
 public UserController(ICreateUserService createUserService, IGetUsersService getUsersService,
                       IUpdateUserService updateUserService, IChangePasswordService changePasswordService,
                       IGetRolesService getRolesService, IDeleteUserService deleteUserService,
                       IGetPermissionsService getPermissionsService, IPermissionVerificationService permissionVerificationService)
 {
     this.createUserService             = createUserService;
     this.getUsersService               = getUsersService;
     this.updateUserService             = updateUserService;
     this.changePasswordService         = changePasswordService;
     this.getRolesService               = getRolesService;
     this.deleteUserService             = deleteUserService;
     this.getPermissionsService         = getPermissionsService;
     this.permissionVerificationService = permissionVerificationService;
 }
Beispiel #5
0
 public ScopeController(
     SiteSettings siteSettings,
     IAddScopeService addScopeService,
     IDeleteScopeService deleteScopeService,
     IFindScopeService findScopeService,
     IGetRolesService getRolesService,
     IGetScopesService getScopesService,
     IUpdateScopeService updateScopeService)
 {
     _siteSettings       = siteSettings;
     _addScopeService    = addScopeService;
     _deleteScopeService = deleteScopeService;
     _findScopeService   = findScopeService;
     _getRolesService    = getRolesService;
     _getScopesService   = getScopesService;
     _updateScopeService = updateScopeService;
 }
Beispiel #6
0
 public ApplicationController(
     SiteSettings siteSettings,
     IAddApplicationService addApplicationService,
     IAuthenticateClientService authenticateClientService,
     IDeleteApplicationService deleteApplicationService,
     IFindApplicationService findApplicationService,
     IGenerateClientSecretService generateClientSecretService,
     IGetApplicationsService getApplicationsService,
     IGetRolesService getRolesService,
     IUpdateApplicationService updateApplicationService)
 {
     _siteSettings                = siteSettings;
     _addApplicationService       = addApplicationService;
     _authenticateClientService   = authenticateClientService;
     _deleteApplicationService    = deleteApplicationService;
     _findApplicationService      = findApplicationService;
     _generateClientSecretService = generateClientSecretService;
     _getApplicationsService      = getApplicationsService;
     _getRolesService             = getRolesService;
     _updateApplicationService    = updateApplicationService;
 }
Beispiel #7
0
 public UserController(
     SiteSettings siteSettings,
     IAddUserRoleRelationService addUserRoleRelationService,
     IAddUserService addUserService,
     IDeleteUserRoleRelationService deleteUserRoleRelationService,
     IDeleteUserService deleteUserService,
     IFindUserService findUserService,
     IGetApplicationsService getApplicationsService,
     IGetRolesService getRolesService,
     IGetUsersService getUsersService,
     IUpdateUserService updateUserService)
 {
     _siteSettings = siteSettings;
     _addUserRoleRelationService    = addUserRoleRelationService;
     _addUserService                = addUserService;
     _deleteUserRoleRelationService = deleteUserRoleRelationService;
     _deleteUserService             = deleteUserService;
     _findUserService               = findUserService;
     _getApplicationsService        = getApplicationsService;
     _getRolesService               = getRolesService;
     _getUsersService               = getUsersService;
     _updateUserService             = updateUserService;
 }