Repository navigation
version 0.0.3 ⚙️
-
🏗️ New Structure: The
set_auth()function has been replaced with a new class calledFastauth(). From now on, it should be used in the wayFastauth().set_auth(...). -
⚙️ Customizable FastauthSettings via Parameters: The
FastauthSettingscan now be customized through parameters. It is possible to pass settings directly to the class:Fastauth(settings: FastauthSettings | dict). These options follow exactly the same configuration and format as defined in thefastauth.configfile.class FastauthSettings(BaseModel): app_name: str = "fastauth-api" database_api_path: str | None = None master_token: str | None = None cryptography_key: str | None = None headers: dict | None = None master_token_paths: list | None = [] access_token_paths: list | None = []