MCPcopy
hub / github.com/django/django / get_session_auth_hash

Method get_session_auth_hash

django/contrib/auth/base_user.py:132–136  ·  view source on GitHub ↗

Return an HMAC of the password field.

(self)

Source from the content-addressed store, hash-verified

130 return is_password_usable(self.password)
131
132 def get_session_auth_hash(self):
133 """
134 Return an HMAC of the password field.
135 """
136 return self._get_session_auth_hash()
137
138 def get_session_auth_fallback_hash(self):
139 for fallback_secret in settings.SECRET_KEY_FALLBACKS:

Callers 6

loginFunction · 0.80
aloginFunction · 0.80
get_userFunction · 0.80
aget_userFunction · 0.80
update_session_auth_hashFunction · 0.80

Calls 1

Tested by

no test coverage detected