Authentication backends¶
-
class
uaa_client.authentication.
UaaBackend
¶ Custom auth backend for Cloud Foundry / cloud.gov User Account and Authentication (UAA) servers.
This inherits from
django.contrib.auth.backends.ModelBackend
so that the superclass can provide all authorization methods.-
static
get_user_by_email
(email)¶ Return a
django.contrib.auth.models.User
with the given email address. If no user can be found, returnNone
.The default implementation attempts to find an existing user with the given case-insensitive email address. If no such user exists,
None
is returned.Subclasses may override this method to account for different kinds of security policies for logins.
-
static