Module controller

Source

Structs§

ARGON_CONFIG
ActivationInput
Rust struct representing the Json body of GET requests to the …/activate endpoint
ChangeInput
Rust struct representing the Json body of POST requests to the /change endpoint
ForgotInput
Rust struct representing the Json body of POST requests to the /forgot endpoint
LoginInput
Rust struct representing the Json body of POST requests to the …/login endpoint
RefreshTokenClaims
TODO: documentation
RegisterInput
Rust struct representing the Json body of POST requests to the …/register endpoint
RegistrationClaims
TODO: documentation
ResetInput
Rust struct representing the Json body of POST requests to the /reset endpoint
ResetTokenClaims
TODO: documentation

Constants§

COOKIE_NAME

Functions§

activate
/activate
change_password
/change
check
/check
create_user_session
create a user session for the user with user_id
destroy_session
/sessions/{id}
destroy_sessions
/sessions
forgot_password
/forgot sends an email to the email in the ForgotInput Json in the request body that will allow the user associated with that email to change their password
generate_salt
get_sessions
/sessions
login
/login
logout
/logout If this is successful, delete the cookie storing the refresh token
refresh
/refresh
register
/register
reset_password
reset