Currently web handlers have access to the authenticated user via the request value named user, which is returned by the authentication flow. However, the following use-cases are not possible without workarounds:
- Logging out the user
- Updating the user
- Aggregating other information alongside the user
To make this possible, a new value authentication could be passed to the request containing methods to access user and session.
Currently web handlers have access to the authenticated user via the request value named
user, which is returned by the authentication flow. However, the following use-cases are not possible without workarounds:To make this possible, a new value
authenticationcould be passed to the request containing methods to access user and session.