- getAuthId returns Maybe AuthId with no useful information in the Nothing case. - AuthenticationResult includes whether it was a User or Server error (with an accompanying message) in the failure case. - User errors are displayed back to the user and have a 401 status in JSON responses. Server errors are logged and a generic error message is presented to the user, with a 500 status in JSON responses. Resolves #956 |
||
|---|---|---|
| .. | ||
| Auth | ||
| Auth.hs | ||
| PasswordStore.hs | ||