tmserver.extensions package

Module contents

Submodules

tmserver.extensions.auth module

JWT-based authentication mechanism for TissueMAPS.

tmserver.extensions.auth.authenticate(username, password)

Check if there is a user with this username-pw-combo and return the user object if a matching user has been found.

tmserver.extensions.auth.load_user(payload)

Lookup the user for a token payload.

tmserver.extensions.auth.make_payload(user)

Create the token payload for some user