app.models.user.User.us_send_security_token

User.us_send_security_token(method: str, **kwargs: Any) Optional[str]

Generate and send the security code for unified sign in.

Parameters
  • method – The method in which the code will be sent

  • kwargs – Opaque parameters that are subject to change at any time

Returns

None if successful, error message if not.

This is a wrapper around us_send_security_token() that can be overridden to manage any errors.

New in version 3.4.0.