constants.py 982 B

12345678910111213141516171819
  1. from allauth.socialaccount.providers.digitalocean.views import DigitalOceanOAuth2Adapter
  2. from allauth.socialaccount.providers.gitea.views import GiteaOAuth2Adapter
  3. from allauth.socialaccount.providers.github.views import GitHubOAuth2Adapter
  4. from allauth.socialaccount.providers.gitlab.views import GitLabOAuth2Adapter
  5. from allauth.socialaccount.providers.google.views import GoogleOAuth2Adapter
  6. from allauth.socialaccount.providers.microsoft.views import MicrosoftGraphOAuth2Adapter
  7. from allauth.socialaccount.providers.nextcloud.views import NextCloudAdapter
  8. from allauth.socialaccount.providers.openid_connect.views import OpenIDConnectAdapter
  9. SOCIAL_ADAPTER_MAP = {
  10. "digitalocean": DigitalOceanOAuth2Adapter,
  11. "github": GitHubOAuth2Adapter,
  12. "gitlab": GitLabOAuth2Adapter,
  13. "google": GoogleOAuth2Adapter,
  14. "microsoft": MicrosoftGraphOAuth2Adapter,
  15. "gitea": GiteaOAuth2Adapter,
  16. "nextcloud": NextCloudAdapter,
  17. "openid_connect": OpenIDConnectAdapter,
  18. }