Interface: ResolvedAuthGateConfig
Resolved gate config with env fallbacks + defaults applied.
Properties
Section titled “Properties”allow:
string[]
brandName
Section titled “brandName”brandName:
string
codeTtlSeconds
Section titled “codeTtlSeconds”codeTtlSeconds:
number
forwardHeaders
Section titled “forwardHeaders”forwardHeaders:
string[]
Extra x- headers tunnel traffic may forward (unioned with the defaults).
gatePaths
Section titled “gatePaths”gatePaths:
string[]
Path prefixes to gate beyond /api/ (e.g. /ws).
insecure
Section titled “insecure”insecure:
boolean
Run OPEN with no gate.
logoutRedirectPath
Section titled “logoutRedirectPath”logoutRedirectPath:
string
Same-origin path returned after logout.
maxAttempts
Section titled “maxAttempts”maxAttempts:
number
message
Section titled “message”message:
string
publicDomain?
Section titled “publicDomain?”
optionalpublicDomain?:string
Primary public domain; undefined when Portr is not configured.
publicDomains
Section titled “publicDomains”publicDomains:
string[]
All public tunnel domains accepted by the gate.
sessionCutoffMs
Section titled “sessionCutoffMs”sessionCutoffMs:
number
Force-clear cutoff in epoch ms; 0 when unset.
sessionTtlSeconds
Section titled “sessionTtlSeconds”sessionTtlSeconds:
number
sqlitePath?
Section titled “sqlitePath?”
optionalsqlitePath?:string
storage
Section titled “storage”storage:
AuthStorageMode
subject
Section titled “subject”subject:
string