Update docstring
parent
1550ab9e2f
commit
7151615260
|
@ -246,7 +246,7 @@ class Auth(object):
|
||||||
""" Get a registered user's ID.
|
""" Get a registered user's ID.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
token (str)- The access token to get the user by.
|
token (str): The access token to get the user by.
|
||||||
Returns:
|
Returns:
|
||||||
dict : dict that includes the user, device_id, and whether the
|
dict : dict that includes the user, device_id, and whether the
|
||||||
user is a server admin.
|
user is a server admin.
|
||||||
|
|
|
@ -94,7 +94,8 @@ class RegistrationStore(SQLBaseStore):
|
||||||
Args:
|
Args:
|
||||||
token (str): The access token of a user.
|
token (str): The access token of a user.
|
||||||
Returns:
|
Returns:
|
||||||
str: The user ID of the user.
|
dict: Including the name (user_id), device_id and whether they are
|
||||||
|
an admin.
|
||||||
Raises:
|
Raises:
|
||||||
StoreError if no user was found.
|
StoreError if no user was found.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue