-
Notifications
You must be signed in to change notification settings - Fork 8
authorization_manger
h0pbeat edited this page Jun 5, 2013
·
1 revision
Module for managing authorizations between the applications and the service.
class Authorization(models.Model):
user = models.ForeignKey(User)
scope = models.ForeignKey(Scope)
application = models.ForeignKey(Application)
payload = models.TextField(null=True, blank=True)
active = models.BooleanField()
created_at = models.PositiveIntegerField(null=True)
revoked_at = models.PositiveIntegerField(null=True)