Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cornflourblue/aspnet-core-react-registration-login-example
/ functions
Functions
73 in github.com/cornflourblue/aspnet-core-react-registration-login-example
⨍
Functions
73
◇
Types & classes
19
↓ 4 callers
Function
authHeader
()
client/src/_helpers/auth-header.js:1
↓ 4 callers
Function
failure
(error)
client/src/_actions/user.actions.js:33
↓ 4 callers
Function
request
(user)
client/src/_actions/user.actions.js:31
↓ 4 callers
Function
success
(user)
client/src/_actions/user.actions.js:32
↓ 1 callers
Method
Create
(User user, string password)
server/Services/UserService.cs:57
↓ 1 callers
Method
handleDeleteUser
(id)
client/src/HomePage/HomePage.jsx:12
Method
AppException
()
server/Helpers/AppException.cs:10
Method
Authenticate
([FromBody]UserDto userDto)
server/Controllers/UsersController.cs:36
Method
Authenticate
(string username, string password)
server/Services/UserService.cs:11
Method
Authenticate
(string username, string password)
server/Services/UserService.cs:28
Method
AutoMapperProfile
()
server/Helpers/AutoMapperProfile.cs:9
Method
BuildWebHost
(string[] args)
server/Program.cs:14
Method
Configure
This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
server/Startup.cs:67
Method
ConfigureServices
This method gets called by the runtime. Use this method to add services to the container.
server/Startup.cs:30
Method
Create
(User user, string password)
server/Services/UserService.cs:14
Method
CreatePasswordHash
(string password, out byte[] passwordHash, out byte[] passwordSalt)
server/Services/UserService.cs:123
Method
DataContext
(DbContextOptions<DataContext> options)
server/Helpers/DataContext.cs:8
Method
Delete
(int id)
server/Controllers/UsersController.cs:125
Method
Delete
(int id)
server/Services/UserService.cs:16
Method
Delete
(int id)
server/Services/UserService.cs:111
Method
GetAll
()
server/Controllers/UsersController.cs:89
Method
GetAll
()
server/Services/UserService.cs:12
Method
GetAll
()
server/Services/UserService.cs:47
Method
GetById
(int id)
server/Controllers/UsersController.cs:97
Method
GetById
(int id)
server/Services/UserService.cs:13
Method
GetById
(int id)
server/Services/UserService.cs:52
Method
Main
(string[] args)
server/Program.cs:9
Function
PrivateRoute
({ component: Component, ...rest })
client/src/_components/PrivateRoute.jsx:4
Method
Register
([FromBody]UserDto userDto)
server/Controllers/UsersController.cs:69
Method
Startup
(IConfiguration configuration)
server/Startup.cs:22
Method
Update
(int id, [FromBody]UserDto userDto)
server/Controllers/UsersController.cs:105
Method
Update
(User user, string password = null)
server/Services/UserService.cs:15
Method
Update
(User userParam, string password = null)
server/Services/UserService.cs:78
Method
UserService
(DataContext context)
server/Services/UserService.cs:23
Method
UsersController
( IUserService userService, IMapper mapper, IOptions<AppSettings> appSetti
server/Controllers/UsersController.cs:26
Method
VerifyPasswordHash
(string password, byte[] storedHash, byte[] storedSalt)
server/Services/UserService.cs:135
Function
_delete
(id)
client/src/_actions/user.actions.js:81
Function
_delete
(id)
client/src/_services/user.service.js:77
Function
alert
(state = {}, action)
client/src/_reducers/alert.reducer.js:3
Function
authentication
(state = initialState, action)
client/src/_reducers/authentication.reducer.js:6
Function
clear
()
client/src/_actions/alert.actions.js:17
Method
componentDidMount
()
client/src/HomePage/HomePage.jsx:8
Method
constructor
(props)
client/src/App/App.jsx:13
Method
constructor
(props)
client/src/LoginPage/LoginPage.jsx:8
Method
constructor
(props)
client/src/RegisterPage/RegisterPage.jsx:8
Function
error
(message)
client/src/_actions/alert.actions.js:13
Function
getAll
()
client/src/_actions/user.actions.js:64
Function
getAll
()
client/src/_services/user.service.js:38
Function
getById
(id)
client/src/_services/user.service.js:47
Method
handleChange
(e)
client/src/LoginPage/LoginPage.jsx:24
Method
handleChange
(event)
client/src/RegisterPage/RegisterPage.jsx:25
Function
handleError
(error)
client/src/_services/user.service.js:103
Function
handleResponse
(response)
client/src/_services/user.service.js:86
Method
handleSubmit
(e)
client/src/LoginPage/LoginPage.jsx:29
Method
handleSubmit
(event)
client/src/RegisterPage/RegisterPage.jsx:36
Function
login
(username, password)
client/src/_actions/user.actions.js:14
Function
login
(username, password)
client/src/_services/user.service.js:13
Function
logout
()
client/src/_actions/user.actions.js:36
Function
logout
()
client/src/_services/user.service.js:33
Function
mapStateToProps
(state)
client/src/App/App.jsx:46
Function
mapStateToProps
(state)
client/src/LoginPage/LoginPage.jsx:74
Function
mapStateToProps
(state)
client/src/HomePage/HomePage.jsx:47
Function
mapStateToProps
(state)
client/src/RegisterPage/RegisterPage.jsx:95
Function
register
(user)
client/src/_actions/user.actions.js:41
Function
register
(user)
client/src/_services/user.service.js:56
Function
registration
(state = {}, action)
client/src/_reducers/registration.reducer.js:3
Method
render
()
client/src/App/App.jsx:23
Method
render
()
client/src/LoginPage/LoginPage.jsx:40
Method
render
()
client/src/HomePage/HomePage.jsx:16
Method
render
()
client/src/RegisterPage/RegisterPage.jsx:47
Function
success
(message)
client/src/_actions/alert.actions.js:9
Function
update
(user)
client/src/_services/user.service.js:66
Function
users
(state = {}, action)
client/src/_reducers/users.reducer.js:3