Refactoring supporting OAuth2 flow.
This commit is contained in:
parent
3da1ff4c85
commit
25a59c8344
6 changed files with 75 additions and 46 deletions
|
@ -80,6 +80,7 @@ class Code(BaseCodeTokenModel):
|
|||
|
||||
code = models.CharField(max_length=255, unique=True)
|
||||
nonce = models.CharField(max_length=255, blank=True, default='')
|
||||
is_authentication = models.BooleanField(default=False)
|
||||
|
||||
class Meta:
|
||||
verbose_name = _(u'Authorization Code')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue