mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 22:49:29 -05:00
Doc
This commit is contained in:
parent
ccbc9e5e17
commit
4914a88829
@ -195,6 +195,11 @@ class Auth(object):
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
request - An HTTP request with an access_token query parameter.
|
request - An HTTP request with an access_token query parameter.
|
||||||
|
allow_expired - Whether to allow the request through even if the account is
|
||||||
|
expired. If true, Synapse will still require the access token to be
|
||||||
|
provided but won't check if the account it belongs to has expired. This
|
||||||
|
works thanks to /login delivering access tokens regardless of accounts'
|
||||||
|
expiration.
|
||||||
Returns:
|
Returns:
|
||||||
defer.Deferred: resolves to a ``synapse.types.Requester`` object
|
defer.Deferred: resolves to a ``synapse.types.Requester`` object
|
||||||
Raises:
|
Raises:
|
||||||
|
Loading…
Reference in New Issue
Block a user