Clean up BaseAuthBackend and rename/future-proof some methods.
Review Request #9990 — Created May 31, 2018 and submitted
AuthBackend) has been around a long time,
and has gained some cruft over the years, in the forms of capability
flags that Django no longer needs to functions that don't have the most
Those capability flags have now been removed, and the methods have been
renamed and made expandable through the introduction of
query_users()has been renamed to
search_users()has been renamed to
better reflect the purposes of the methods.
Both renamed methods will look for the legacy versions and, if found,
call them and warn, helping the third-party backends that use these
features in their migration efforts.
Unit tests pass.