aauthenticate
See authenticate().
def aauthenticate(
request: HttpRequest = None,
**credentials: dict
) - > User
See authenticate().
Parameters
| Name | Type | Description |
|---|---|---|
| request | HttpRequest = None | The current HTTP request object used for context during authentication. |
| **credentials | dict | Keyword arguments containing user credentials such as username, password, or tokens required by the authentication backends. |
Returns
| Type | Description |
|---|---|
User | The authenticated user object annotated with the backend path if successful, otherwise None. |