class documentation

class RemoteUserAuthentication(BaseAuthentication): (source)

View In Hierarchy

REMOTE_USER authentication. To use this, set up your web server to perform authentication, which will set the REMOTE_USER environment variable. You will need to have 'django.contrib.auth.backends.RemoteUserBackend in your AUTHENTICATION_BACKENDS setting

Method authenticate Authenticate the request and return a two-tuple of (user, token).
Class Variable header Undocumented

Inherited from BaseAuthentication:

Method authenticate_header Return a string to be used as the value of the `WWW-Authenticate` header in a `401 Unauthenticated` response, or `None` if the authentication scheme should return `403 Permission Denied` responses.
def authenticate(self, request): (source)

Authenticate the request and return a two-tuple of (user, token).

Undocumented