[][src]Module rhymer::user

User.

Structs

ClientToken

JWT token of a verified user.

LoginQuery

Login query struct.

User

User instance.

Enums

UserKind

User kinds.

Functions

decode_token

Decode token string s by key.

encode_token

Encode a token struct t by key.

login

Login with query of username and password, used by RESTFul API.

signup

Sign up with request, used by RESTFul API.

update

Update user by id, used by RESTFul API.