Versions in this module Expand all Collapse all v0 v0.0.1 Aug 24, 2026 Changes in this version + const AuthTypeJWT + const EmailProviderResend + func AuthGateEnabled() bool + func CurrentAuthType() (string, error) + type AuthConfig struct + AuthType string + Email *EmailConfig + Enabled *bool + Session *SessionConfig + Verification *VerificationConfig + var CurrentCfgAuth *AuthConfig + type EmailConfig struct + APIKey string + From string + ProductName string + Provider string + ReplyTo string + VerificationSubject string + func CurrentEmailConfig() (*EmailConfig, error) + type SessionConfig struct + AccessTokenTTLSeconds int + Audience string + Issuer string + JWTSigningSecret string + RefreshTokenTTLSeconds int + func CurrentSessionConfig() (*SessionConfig, error) + type VerificationConfig struct + CodeHashSecret string + CodeTTLSeconds int + HourlySendLimit int + MaxAttempts int + ResendIntervalSeconds int + func CurrentVerificationConfig() (*VerificationConfig, error)