Skip to main content
Version: 0.5.x

AuthProviderArgs (class)

AuthProviderArgs is the class type of the optional "sqrl" argument for the auth provider function, which runs at server startup time.

The class can be imported from the squirrels.arguments or squirrels module.

Attributes

Attributes of AuthProviderArgs that can be accessed.

project_path

The path to the project directory.

Type: str

proj_vars

A dictionary to access a project variable defined in squirrels.yml.

Type: dict[str, Any]

env_vars

A dictionary of environment variables.

Type: dict[str, str]