A base class for the Authentication Service
For redirecting User to web pages
The User loggin in
Retrieves the logged in Users ID if it exists
A User ID if a user is logged in, else null
Checks whether a User is logged in
True if a User ID is stored in local storage. False if no User ID is in local storage.
Checks if User details email and password match a record in the database. If Login is valid, redirect to '/homepage', else redirect to '/login' web page.
Email address of User logging in
Password of User logging in
Logs a User out by deleting their ID and eMail in local storage and then redirects to the '/login' web page.
Registers a new site User
New User first name
New User last name
New User email address
New User password
New user kNumber
Generated using TypeDoc