Fixed the documentation of the AuthState class and the UnauthorizedException exception.
This commit is contained in:
parent
46f05a1022
commit
c004e28c37
@ -422,11 +422,13 @@ class AuthState:
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
"""Constructs the authorization state."""
|
"""Constructs the authorization state."""
|
||||||
self.opaque: t.Optional[str] = None
|
self.opaque: t.Optional[str] = None
|
||||||
|
"""The opaque."""
|
||||||
self.stale: t.Optional[bool] = None
|
self.stale: t.Optional[bool] = None
|
||||||
|
"""The stale."""
|
||||||
|
|
||||||
|
|
||||||
class UnauthorizedException(Exception):
|
class UnauthorizedException(Exception):
|
||||||
"""The exception thrown when the authentication is failed."""
|
"""The exception thrown when the authorization fails."""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user