lepture/authlib

View on GitHub
authlib/integrations/django_client/__init__.py

Summary

Maintainability
A
0 mins
Test Coverage
# flake8: noqa

from .integration import DjangoIntegration, token_update
from .apps import DjangoOAuth1App, DjangoOAuth2App
from ..base_client import BaseOAuth, OAuthError


class OAuth(BaseOAuth):
    oauth1_client_cls = DjangoOAuth1App
    oauth2_client_cls = DjangoOAuth2App
    framework_integration_cls = DjangoIntegration


__all__ = [
    'OAuth',
    'DjangoOAuth1App', 'DjangoOAuth2App',
    'DjangoIntegration',
    'token_update', 'OAuthError',
]