Airship UI Test {{.Title}}
⚠ Warning! ⚠
This is a {{.Title}} test page is only intended as an example for how to use {{.Title}} with AirshipUI.
The System will return the following HTML status codes and responses
{{if eq .Title "Basic Auth"}}
- 201: Created. The password attempt was successful and the backend has sent an xauth token header to AirshipUI.
{{else if eq .Title "Cookie"}}
- 201: Created. The password attempt was successful and the backend has set a cookie and sent the cookie contents to AirshipUI.
{{else if eq .Title "OAuth"}}
- 201: Created. The password attempt was successful and the backend has set a JWT (JSON Web Token) and sent the JWT contents to AirshipUI.
{{end}}
- 400: Bad request. There was an error sending the system the authentication request, most likely bad JSON.
- 401: Unauthorized. Bad id / password attempt.
- 403: Forbidden. The id / password combination was correct but the id is not allowed for the resource.
- 500: Internal Server Error. There was a processing error on the back end.