Type Alias: AuthGateConfig
AuthGateConfig =
BasePluginConfig&SerializableAuthGateConfig&object
Options for the authGate plugin.
Type Declaration
Section titled “Type Declaration”authorizeIdentity?
Section titled “authorizeIdentity?”
optionalauthorizeIdentity?:AuthorizeIdentity
sendCode?
Section titled “sendCode?”
optionalsendCode?: (code,opts) =>Promise<void>
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”Promise<void>
AuthGateConfig fields
Section titled “AuthGateConfig fields”Serializable authentication gate configuration.
storage(optional): Authentication storage mode.sqlitePath(optional): Optional local SQLite database path.allow(optional): Email allow-list patterns.subject(optional): Verification email subject.brandName(optional): Verification email brand name.message(optional): Verification email message.sessionTtlSeconds(optional): Session lifetime in seconds.codeTtlSeconds(optional): One-time-code lifetime in seconds.maxAttempts(optional): Maximum verification attempts per code.sessionCutoff(optional): Session invalidation cutoff.logoutRedirectPath(optional): Same-origin path returned after logout.publicDomain(optional): Primary public tunnel domain.publicDomains(optional): Additional public tunnel domains.forwardHeaders(optional): Additional forwarded request header patterns.gatePaths(optional): Additional path prefixes requiring authentication.insecure(optional): Run without an authentication gate.