Expand description
Configures account authentication and session lifetimes.
Login, OIDC, password hashing, and refresh-token policy have dedicated settings. The integration secret authenticates MAS provisioning calls; the emergency password grants access to the server bot account.
Re-exportsยง
use serde::Deserialize;๐use serde::Deserialize;๐use tuwunel_macros::config_example_generator;๐use super::true_fn;๐
Structsยง
- Argon2
- Password hashing cost
- Authentication
- Authentication and sessions
- Login
- Login methods
- Oidc
- Built-in OIDC server (next-generation login)
- Refresh
Token - Refresh-token expiry and reuse
Constantsยง
- TUWUNEL_
CONFIG_ ๐SECTION_ ARGO N2 - TUWUNEL_
CONFIG_ ๐SECTION_ AUTHENTICATION - TUWUNEL_
CONFIG_ ๐SECTION_ LOGIN - TUWUNEL_
CONFIG_ ๐SECTION_ OIDC - TUWUNEL_
CONFIG_ ๐SECTION_ REFRESHTOKEN
Functionsยง
- default_
access_ ๐token_ ttl - default_
browser_ ๐session_ ttl - default_
m_ ๐cost - default_
openid_ ๐token_ ttl - default_
p_ ๐cost - default_
reuse_ ๐grace - default_
t_ ๐cost - default_
token_ ๐ttl