class django_auth_exchange.backends.ExchangeAuthBackend[source]

This authentication backend uses exchangelib to authenticate against the Exchange or Office365 server.

By default, the authenticate method creates User objects for usernames that don’t already exist in the database. Subclasses can disable this behavior by setting the create_unknown_user attribute to False.

authenticate(request, username, password)[source]

Check for the format of the username (dom\user vs user@dom), then authenticate, and if successful, get or create the user object and return it.