Update docstring
parent
9b72dab566
commit
66ef6cd7cb
|
@ -139,9 +139,7 @@ class RegistrationWorkerStore(CacheInvalidationWorkerStore):
|
||||||
Args:
|
Args:
|
||||||
token: The access token of a user.
|
token: The access token of a user.
|
||||||
Returns:
|
Returns:
|
||||||
None, if the token did not match, otherwise dict
|
None, if the token did not match, otherwise a `TokenLookupResult`
|
||||||
including the keys `name`, `is_guest`, `device_id`, `token_id`,
|
|
||||||
`valid_until_ms`.
|
|
||||||
"""
|
"""
|
||||||
return await self.db_pool.runInteraction(
|
return await self.db_pool.runInteraction(
|
||||||
"get_user_by_access_token", self._query_for_auth, token
|
"get_user_by_access_token", self._query_for_auth, token
|
||||||
|
|
Loading…
Reference in New Issue