auth.backends.RemoteUserBackend.authenticate()

RemoteUserBackend.authenticate(remote_user)

The username passed as remote_user is considered trusted. This method simply returns the User object with the given username, creating a new User object if create_unknown_user is True.

Returns None if create_unknown_user is False and a User object with the given username is not found in the database.

doc_Django
2016-10-09 18:34:07
Comments
Leave a Comment

Please login to continue.