diff --git a/Makefile b/Makefile index 157f057..bb98595 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ INFO_NAME=Chasen Gao INFO_EMAIL=chasenspace@gmail.com PROJECT_NAME=better-auth PACKAGE_NAME=better_auth -PKG_VERSION=0.0.1-beta10 +PKG_VERSION=0.0.1-beta11 OPENAPI_CFG=openapi-generator GIT_USER_ID=chasenlab GIT_REPO_ID=better-auth-python diff --git a/README.md b/README.md index c4cbec6..376c87e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # better-auth -![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/chasenlab/better-auth-python/python.yml) +![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/chasenlab/better-auth-python/ci.yml) ![GitHub Release Date](https://img.shields.io/github/release-date/chasenlab/better-auth-python) ![GitHub Release](https://img.shields.io/github/v/release/chasenlab/better-auth-python?&color=fff) @@ -13,7 +13,7 @@ API Reference for your Better Auth Instance This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.1.0 -- Package version: 0.0.1-beta10 +- Package version: 0.0.1-beta11 - Generator version: 7.17.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen @@ -67,7 +67,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters diff --git a/docs/AdminApi.md b/docs/AdminApi.md index 7019ebd..cdcada5 100644 --- a/docs/AdminApi.md +++ b/docs/AdminApi.md @@ -40,7 +40,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -122,7 +122,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -203,7 +203,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -285,7 +285,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -367,7 +367,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -449,7 +449,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -530,7 +530,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -630,7 +630,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -712,7 +712,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -794,7 +794,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -876,7 +876,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -958,7 +958,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1038,7 +1038,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1113,7 +1113,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1195,7 +1195,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters diff --git a/docs/ApiKeyApi.md b/docs/ApiKeyApi.md index eee06e6..283118b 100644 --- a/docs/ApiKeyApi.md +++ b/docs/ApiKeyApi.md @@ -30,7 +30,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -112,7 +112,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -193,7 +193,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -274,7 +274,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -352,7 +352,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index 9130fc5..d653e4d 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -51,7 +51,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -127,7 +127,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -210,7 +210,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -292,7 +292,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -373,7 +373,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -455,7 +455,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -533,7 +533,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -615,7 +615,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -696,7 +696,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -774,7 +774,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -855,7 +855,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -932,7 +932,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1009,7 +1009,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1087,7 +1087,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1169,7 +1169,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1250,7 +1250,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1333,7 +1333,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1415,7 +1415,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1496,7 +1496,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1578,7 +1578,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1660,7 +1660,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1741,7 +1741,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1823,7 +1823,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1906,7 +1906,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -1988,7 +1988,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -2070,7 +2070,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -2151,7 +2151,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters diff --git a/docs/OneTapApi.md b/docs/OneTapApi.md index 7c21f52..c7c6429 100644 --- a/docs/OneTapApi.md +++ b/docs/OneTapApi.md @@ -26,7 +26,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters diff --git a/docs/PasskeyApi.md b/docs/PasskeyApi.md index 31f856b..4ac0642 100644 --- a/docs/PasskeyApi.md +++ b/docs/PasskeyApi.md @@ -31,7 +31,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -115,7 +115,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -196,7 +196,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -273,7 +273,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -351,7 +351,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -433,7 +433,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -515,7 +515,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters diff --git a/docs/StripeApi.md b/docs/StripeApi.md index 0982a35..30a7330 100644 --- a/docs/StripeApi.md +++ b/docs/StripeApi.md @@ -22,7 +22,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters diff --git a/docs/TwoFactorApi.md b/docs/TwoFactorApi.md index b985ddb..de2c6b8 100644 --- a/docs/TwoFactorApi.md +++ b/docs/TwoFactorApi.md @@ -33,7 +33,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -115,7 +115,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -197,7 +197,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -279,7 +279,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -360,7 +360,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -438,7 +438,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -520,7 +520,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters @@ -602,7 +602,7 @@ from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000/api/auth # See configuration.py for a list of all supported configuration parameters. configuration = better_auth.Configuration( - host = "http://localhost:3000/api/auth" + host = "http://localhost:3000/api/auth" # Replace with your API server host ) # The client must configure the authentication and authorization parameters diff --git a/openapi-generator/template/README.mustache b/openapi-generator/template/README.mustache index 1b4f312..b1a23e3 100644 --- a/openapi-generator/template/README.mustache +++ b/openapi-generator/template/README.mustache @@ -1,8 +1,8 @@ # {{{projectName}}} ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/chasenlab/better-auth-python/ci.yml) -![GitHub Release](https://img.shields.io/github/v/release/chasenlab/better-auth-python?&color=fff) ![GitHub Release Date](https://img.shields.io/github/release-date/chasenlab/better-auth-python) +![GitHub Release](https://img.shields.io/github/v/release/chasenlab/better-auth-python?&color=fff) ![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54) ![Swagger](https://img.shields.io/badge/-Swagger-%23Clojure?style=for-the-badge&logo=swagger&logoColor=white) diff --git a/openapi-generator/template/python_doc_auth_partial.mustache b/openapi-generator/template/python_doc_auth_partial.mustache index f478fe0..e395106 100644 --- a/openapi-generator/template/python_doc_auth_partial.mustache +++ b/openapi-generator/template/python_doc_auth_partial.mustache @@ -1,7 +1,7 @@ # Defining the host is optional and defaults to {{{basePath}}} # See configuration.py for a list of all supported configuration parameters. configuration = {{{packageName}}}.Configuration( - host = "{{{basePath}}}" + host = "{{{basePath}}}" # Replace with your API server host ) {{#hasAuthMethods}} diff --git a/pyproject.toml b/pyproject.toml index 2244fa6..67b1892 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "better-auth" -version = "0.0.1-beta10" +version = "0.0.1-beta11" description = "Python SDK for better-auth - generated by OpenAPI Generator" authors = [ {name = "Chasen Gao",email = "chasenspace@gmail.com"}, diff --git a/setup.py b/setup.py index 99ccc1b..d9b0014 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "better-auth" -VERSION = "0.0.1-beta10" +VERSION = "0.0.1-beta11" PYTHON_REQUIRES = ">= 3.9" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", diff --git a/src/better_auth/__init__.py b/src/better_auth/__init__.py index 5878a58..b92601a 100644 --- a/src/better_auth/__init__.py +++ b/src/better_auth/__init__.py @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "0.0.1-beta10" +__version__ = "0.0.1-beta11" # Define package exports __all__ = [ diff --git a/src/better_auth/api_client.py b/src/better_auth/api_client.py index b1b6e15..13e414f 100644 --- a/src/better_auth/api_client.py +++ b/src/better_auth/api_client.py @@ -92,7 +92,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/0.0.1-beta10/python' + self.user_agent = 'OpenAPI-Generator/0.0.1-beta11/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/src/better_auth/configuration.py b/src/better_auth/configuration.py index fd0380e..749db30 100644 --- a/src/better_auth/configuration.py +++ b/src/better_auth/configuration.py @@ -544,7 +544,7 @@ def to_debug_report(self) -> str: "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.1.0\n"\ - "SDK Package Version: 0.0.1-beta10".\ + "SDK Package Version: 0.0.1-beta11".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: