From 8060bc67fffc83aa663d066b9434fa2d02f4b4e8 Mon Sep 17 00:00:00 2001 From: Ejiro Asiuwhu Date: Wed, 25 Mar 2026 00:51:27 +0100 Subject: [PATCH] feat: export auth types and functions from stack_auth package - Add AuthState, TokenPartialUser, decode_access_token_claims to public API - Add sync_authenticate_request and async_authenticate_request exports - Existing exports unchanged --- .../python/src/stack_auth/__init__.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sdks/implementations/python/src/stack_auth/__init__.py b/sdks/implementations/python/src/stack_auth/__init__.py index 91ea14ce7..ffa8b5fdf 100644 --- a/sdks/implementations/python/src/stack_auth/__init__.py +++ b/sdks/implementations/python/src/stack_auth/__init__.py @@ -1,5 +1,12 @@ """Stack Auth Python SDK.""" +from stack_auth._auth import ( + AuthState, + TokenPartialUser, + async_authenticate_request, + decode_access_token_claims, + sync_authenticate_request, +) from stack_auth._pagination import PaginatedResult from stack_auth._version import __version__ from stack_auth.errors import ( @@ -66,6 +73,12 @@ __all__ = [ "RateLimitError", "CliError", "AnalyticsError", + # Auth + "AuthState", + "TokenPartialUser", + "decode_access_token_claims", + "sync_authenticate_request", + "async_authenticate_request", # Models "BaseUser", "ServerUser",