Deprecate auth backend methods in favour of the registry

Review Request #8287 — Created July 13, 2016 and submitted

Information

Review Board
release-3.0.x

Reviewers

The following methods are now deprecated in favour of equivalent methods
in the AuthBackendRegistry:

  • get_regsitered_auth_backend;
  • get_registered_auth_backends;
  • register_auth_backend; and
  • unregister_auth_backend.

A deprecation notice has been added to the documentation of each method,
as well as a DeprecationWarning.

Ran unit tests and saw deprecation warnings.

Description From Last Updated

'ItemLookupError' imported but unused

reviewbotreviewbot
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/accounts/backends.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/accounts/backends.py
    
    
  2. reviewboard/accounts/backends.py (Diff revision 1)
     
     
    Show all issues
     'ItemLookupError' imported but unused
    
  3. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/accounts/backends.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/accounts/backends.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (381363b)