"""python-jwtauth utilities for integration testing JWT-enabled endpoints.""" try: # Detect whether the client has installed the required dependencies import boto3 # noqa import pytest # noqa from pydantic import BaseModel, ConfigDict, EmailStr, Field, SecretStr # noqa except (ImportError, ModuleNotFoundError) as e: error_msg = ( "\033[31mYou are attempting to use the `jwtauth.testing` modules without" " installing the `extra` dependencies." ' Please run `pip install "jwtauth[testing]"`' " or contact #permissions-platform-public for help.\033[0m" ) raise ImportError(error_msg) from e from .constants import CLAIM_ORCHARD_IDENTITY_ID, JWT_USER_METADATA from .schemas import SecretLookupInfo from .secretsmanager import JwtAuthSecretsManager from .utils import get_bearer_token_identity_uuid, login_from_secrets_manager __all__ = [ "JWT_USER_METADATA", "JwtAuthSecretsManager", "SecretLookupInfo", "CLAIM_ORCHARD_IDENTITY_ID", "login_from_secrets_manager", "get_bearer_token_identity_uuid", ]