~ubuntu-branches/debian/sid/social-auth-core/sid

« back to all changes in this revision

Viewing changes to social_core/backends/username.py

  • Committer: Package Import Robot
  • Author(s): Andre Bianchi
  • Date: 2018-02-22 19:49:12 UTC
  • Revision ID: package-import@ubuntu.com-20180222194912-4lqv8mlhnqc4ncd3
Tags: upstream-1.7.0
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
"""
 
2
Legacy Username backend, docs at:
 
3
    https://python-social-auth.readthedocs.io/en/latest/backends/username.html
 
4
"""
 
5
from .legacy import LegacyAuth
 
6
 
 
7
 
 
8
class UsernameAuth(LegacyAuth):
 
9
    name = 'username'
 
10
    ID_KEY = 'username'
 
11
    EXTRA_DATA = ['username']