- Index
- »
- hx
- »
- HxUserService
type
methods
authenticate |
Authenticate a web request and return a context. |
---|---|
read |
Lookup a user by username. |
Slot Details
authenticate
abstract HxContext? authenticate(WebReq req, WebRes res)
Authenticate a web request and return a context. If request is not authenticated then redirect to login page and return null. Session information is available via HxContext.session
.