Skip to content

Commit

Permalink
Update AuthContext
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Dec 17, 2024
1 parent b6c3a0d commit bcb1164
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/docs/cloud/reference/sdk/python_sdk_ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@
::: langgraph_sdk.auth.types.FilterType
handler: python

::: langgraph_sdk.auth.types.AuthContext
handler: python

::: langgraph_sdk.auth.exceptions
handler: python
4 changes: 2 additions & 2 deletions libs/sdk-py/langgraph_sdk/auth/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ class BaseAuthContext:
authorization decisions.
"""

scopes: Sequence[str]
"""The scopes granted to the authenticated user."""
permissions: Sequence[str]
"""The permissions granted to the authenticated user."""

user: BaseUser
"""The authenticated user."""
Expand Down

0 comments on commit bcb1164

Please sign in to comment.