Skip to content

browsers: introduce AuthenticationMixin to replace need_login/LoginPage

Romain Bignon requested to merge rbignon/woob:auth-mixin into master

The new AuthenticationMixin may be used instead of LoginPage which inherits PagesBrowser.

The browser needs to implement two methods:

  • check_authentication() which raises an error if not authenticated
  • authenticate()

Also need_login has been renamed require_authentication.

Merge request reports