newauth.forms¶
-
class
newauth.forms.
BaseAuthForm
(*args, **kwargs)¶ A base authentication form. Authentication forms can subclass this form and implement the get_credentials() method which will return a dictionary of credentials from self.cleaned_data that can be used with authenticate()
-
get_credentials
()¶ Gets credentials as a dict object from self.cleaned_data
-
get_user
()¶ Gets the cached user object for the user that logged in using this form.
-