Authentication
Authentication related to Auction House
This authentication is only related to the /auction
endpoints.
These endpoints are used to authorize yourself with the API server. All /auction
routes require an authorization token to be included in the request.
Register
Register a new user profile.
You will need to send all of the required values in your POST
request:
The name
value must not contain punctuation symbols apart from underscore (_
).
The email
value must be a valid stud.noroff.no
or noroff.no
email address.
The password
value must be at least 8 characters.
You can now use your registered account to log in.
Login
Login with your registered user.
You can now use this access token as the Bearer token in the Authorization
header for all /auction
endpoints.
The response object will include your credits to use for bidding. Each user is given 1,000 credits by default.