Services
    
    The service utilized to handle passwordless auth requests.
Determines if a user is logging in or signing up, and sends the appropriate magic links.
Parameters:
- 
            request(HttpRequest) –HttpRequest object. 
- 
            redirect_field–The name of a field containing the redirect URL. 
- 
            extended_session(Optional[bool], default:False) –Include the remember-meparam in the magic link, defaults to False.
Source code in hypha/apply/users/services.py
                    
class-attribute
      instance-attribute
  
¶
login_token_generator_class = PasswordlessLoginTokenGenerator
class-attribute
      instance-attribute
  
¶
signup_token_generator_class = PasswordlessSignupTokenGenerator
class-attribute
      instance-attribute
  
¶
next_url = get_redirect_url(request, redirect_field_name)
    
    Source code in hypha/apply/users/services.py
              
    Source code in hypha/apply/users/services.py
              
    Source code in hypha/apply/users/services.py
              
    Send a passwordless login/signup email.
If the user exists, send a login email. If the user does not exist, send a signup invite email.
Parameters:
- 
            email(str) –Email address to send the email to. 
Returns:
- 
              None–None