userman.web

Web interface implementation

Public Imports

userman.api
public import userman.api;

Members

Classes

UserManWebAuthenticator
class UserManWebAuthenticator

Used to provide request authentication for web applications.

UserManWebInterface
class UserManWebInterface

Web interface class for UserMan, suitable for use with vibe.web.web.

Functions

authenticate
User authenticate(HTTPServerRequest req, HTTPServerResponse res, UserManAPI api, string url_prefix)

Ensures that a user is logged in.

registerUserManWebInterface
void registerUserManWebInterface(URLRouter router, UserManAPI api)

Registers the routes for a UserMan web interface.

registerUserManWebInterface
void registerUserManWebInterface(URLRouter router, UserManController controller)

deprecated

updateProfile
void updateProfile(UserManAPI api, User.ID user, HTTPServerRequest req)
deprecated void updateProfile(UserManController controller, User user, HTTPServerRequest req)

Helper function to update the user profile from a POST request.

Meta

License

Subject to the terms of the General Public License version 3, as written in the included LICENSE.txt file.

Authors

Sönke Ludwig