Skip to main content

aauthenticate

See authenticate().

def aauthenticate(
request: HttpRequest = None,
**credentials: dict
) - > User

See authenticate().

Parameters

NameTypeDescription
requestHttpRequest = NoneThe current HTTP request object used for context during authentication.
**credentialsdictKeyword arguments containing user credentials such as username, password, or tokens required by the authentication backends.

Returns

TypeDescription
UserThe authenticated user object annotated with the backend path if successful, otherwise None.