Skip to content

Commit 339f151

Browse files
committed
AccessToken docs, fixes #225
1 parent 0300402 commit 339f151

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

oauth2_provider/models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ class AccessToken(models.Model):
175175
* :attr:`user` The Django user representing resources' owner
176176
* :attr:`token` Access token
177177
* :attr:`application` Application instance
178-
* :attr:`expires` Expire time in seconds, defaults to
179-
:data:`settings.ACCESS_TOKEN_EXPIRE_SECONDS`
178+
* :attr:`expires` Date and time of token expiration, in DateTime format
180179
* :attr:`scope` Allowed scopes
181180
"""
182181
user = models.ForeignKey(AUTH_USER_MODEL, blank=True, null=True)

0 commit comments

Comments
 (0)