Skip to content

Commit

Permalink
handlers: export rest handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Panero committed Jun 3, 2020
1 parent 72a8d4a commit a680523
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions invenio_oauthclient/handlers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@

from __future__ import absolute_import, print_function

from .rest import authorized_default_handler as \
authorized_default_handler_rest, \
authorized_signup_handler as authorized_signup_handler_rest, \
disconnect_handler as disconnect_handler_rest, \
signup_handler as signup_handler_rest
from .ui import authorized_default_handler, authorized_signup_handler, \
disconnect_handler, oauth2_handle_error, \
oauth_resp_remote_error_handler as oauth_error_handler, signup_handler
Expand All @@ -19,9 +24,12 @@
token_delete, token_getter, token_session_key, token_setter

__all__ = (
'authorized_default_handler_rest',
'authorized_default_handler',
'authorized_handler',
'authorized_signup_handler_rest',
'authorized_signup_handler',
'disconnect_handler_rest',
'disconnect_handler',
'get_session_next_url',
'make_handler',
Expand All @@ -33,6 +41,7 @@
'oauth2_token_setter',
'response_token_setter',
'set_session_next_url',
'signup_handler_rest',
'signup_handler',
'token_delete',
'token_getter',
Expand Down

0 comments on commit a680523

Please sign in to comment.