Metadata-Version: 2.4
Name: bazaar-contrib-server-access
Version: 0.3.0rc1
Summary: Sessions and the login page the Bazaar Compute server is behind
License-Expression: Apache-2.0
License-File: LICENSE
Requires-Dist: bazaar-core~=0.3.0rc1
Requires-Dist: bazaar-contrib-schema~=0.3.0rc1
Requires-Dist: bazaar-contrib-storage~=0.3.0rc1
Requires-Dist: bazaar-contrib-server~=0.3.0rc2
Requires-Dist: bazaar-contrib-server-database~=0.3.0rc1
Requires-Dist: bazaar-contrib-server-migrations~=0.3.0rc2
Requires-Dist: cryptography>=45.0.0
Requires-Dist: pydantic>=2.12.0
Requires-Dist: python-multipart>=0.0.32
Requires-Dist: starlette>=0.48.0
Requires-Python: >=3.15
Project-URL: Repository, https://github.com/open-bazaar/contrib-server-access
Description-Content-Type: text/markdown

# bazaar-contrib-server-access

Sessions and the login page the Bazaar Compute server is behind. The `server-access` entry registers itself with the server as its login module: the login page at `/login/`, signed `bcs_session` cookies, and the account each request behind the login is from. On its first start it creates the `admin` account and writes its password to the log once.

```toml
[[contribs]]
package = "bazaar-contrib-server-access~=0.3.0rc1"
[[contribs.enabled]]
entry = "server-access"
[contribs.enabled.config]
session_minutes = 10
```

`session_minutes` is how long a login lasts before the person is asked again.
