Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove mixins, per-Authenticator LoginHandler classes #323

Merged
merged 19 commits into from
Jan 28, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion oauthenticator/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,11 @@ class OAuthenticator(Authenticator):
Subclasses must override:

login_service (string identifying the service provider)
login_handler (likely a subclass of OAuthLoginHandler)
authenticate (method takes one arg - the request handler handling the oauth callback)
"""

login_handler = OAuthLoginHandler

minrk marked this conversation as resolved.
Show resolved Hide resolved
authorize_url = Unicode(
config=True, help="""The authenticate url for initiating oauth"""
)
Expand Down