music.auth¶
Module contents¶
Security related endpoints including login/logout and reset password
auth.auth¶
- music.auth.auth.auth()¶
- music.auth.auth.deauth()¶
- music.auth.auth.jwt_token()¶
- Generate JWT - Returns:
- token request on POST 
- Return type:
- HTTP Response 
 
- music.auth.auth.login()¶
- Login route allowing retrieval of HTML page and submission of results - Returns:
- Home page redirect for GET, login request on POST 
- Return type:
- HTTP Response 
 
- music.auth.auth.logout()¶
- music.auth.auth.register()¶
- music.auth.auth.token()¶