SYMBOL INDEX (505 symbols across 99 files) FILE: cmd/tinyauth/create_oidc_client.go function createOidcClientCmd (line 14) | func createOidcClientCmd() *cli.Command { FILE: cmd/tinyauth/create_user.go type CreateUserConfig (line 14) | type CreateUserConfig struct function NewCreateUserConfig (line 21) | func NewCreateUserConfig() *CreateUserConfig { function createUserCmd (line 30) | func createUserCmd() *cli.Command { FILE: cmd/tinyauth/generate_totp.go type GenerateTotpConfig (line 18) | type GenerateTotpConfig struct function NewGenerateTotpConfig (line 23) | func NewGenerateTotpConfig() *GenerateTotpConfig { function generateTotpCmd (line 30) | func generateTotpCmd() *cli.Command { FILE: cmd/tinyauth/healthcheck.go type healthzResponse (line 16) | type healthzResponse struct function healthcheckCmd (line 21) | func healthcheckCmd() *cli.Command { FILE: cmd/tinyauth/tinyauth.go function main (line 15) | func main() { function runCmd (line 110) | func runCmd(cfg config.Config) error { FILE: cmd/tinyauth/verify_user.go type VerifyUserConfig (line 16) | type VerifyUserConfig struct function NewVerifyUserConfig (line 24) | func NewVerifyUserConfig() *VerifyUserConfig { function verifyUserCmd (line 34) | func verifyUserCmd() *cli.Command { FILE: cmd/tinyauth/version.go function versionCmd (line 11) | func versionCmd() *cli.Command { FILE: frontend/src/components/auth/login-form.tsx type Props (line 16) | interface Props { FILE: frontend/src/components/auth/totp-form.tsx type Props (line 14) | interface Props { FILE: frontend/src/components/domain-warning/domain-warning.tsx type Props (line 12) | interface Props { FILE: frontend/src/components/icons/github.tsx function GithubIcon (line 3) | function GithubIcon(props: SVGProps) { FILE: frontend/src/components/icons/google.tsx function GoogleIcon (line 3) | function GoogleIcon(props: SVGProps) { FILE: frontend/src/components/icons/microsoft.tsx function MicrosoftIcon (line 3) | function MicrosoftIcon(props: SVGProps) { FILE: frontend/src/components/icons/oauth.tsx function OAuthIcon (line 3) | function OAuthIcon(props: SVGProps) { FILE: frontend/src/components/icons/pocket-id.tsx function PocketIDIcon (line 3) | function PocketIDIcon(props: SVGProps) { FILE: frontend/src/components/icons/tailscale.tsx function TailscaleIcon (line 3) | function TailscaleIcon(props: SVGProps) { FILE: frontend/src/components/providers/theme-provider.tsx type Theme (line 3) | type Theme = "dark" | "light" | "system"; type ThemeProviderProps (line 5) | type ThemeProviderProps = { type ThemeProviderState (line 11) | type ThemeProviderState = { function ThemeProvider (line 23) | function ThemeProvider({ FILE: frontend/src/components/theme-toggle/theme-toggle.tsx function ThemeToggle (line 12) | function ThemeToggle() { FILE: frontend/src/components/ui/button.tsx function Button (line 41) | function Button({ FILE: frontend/src/components/ui/card.tsx function Card (line 5) | function Card({ className, ...props }: React.ComponentProps<"div">) { function CardHeader (line 18) | function CardHeader({ className, ...props }: React.ComponentProps<"div">) { function CardTitle (line 31) | function CardTitle({ className, ...props }: React.ComponentProps<"div">) { function CardDescription (line 41) | function CardDescription({ className, ...props }: React.ComponentProps<"... function CardAction (line 51) | function CardAction({ className, ...props }: React.ComponentProps<"div">) { function CardContent (line 64) | function CardContent({ className, ...props }: React.ComponentProps<"div"... function CardFooter (line 74) | function CardFooter({ className, ...props }: React.ComponentProps<"div">) { FILE: frontend/src/components/ui/dropdown-menu.tsx function DropdownMenu (line 7) | function DropdownMenu({ function DropdownMenuPortal (line 13) | function DropdownMenuPortal({ function DropdownMenuTrigger (line 21) | function DropdownMenuTrigger({ function DropdownMenuContent (line 32) | function DropdownMenuContent({ function DropdownMenuGroup (line 52) | function DropdownMenuGroup({ function DropdownMenuItem (line 60) | function DropdownMenuItem({ function DropdownMenuCheckboxItem (line 83) | function DropdownMenuCheckboxItem({ function DropdownMenuRadioGroup (line 109) | function DropdownMenuRadioGroup({ function DropdownMenuRadioItem (line 120) | function DropdownMenuRadioItem({ function DropdownMenuLabel (line 144) | function DropdownMenuLabel({ function DropdownMenuSeparator (line 164) | function DropdownMenuSeparator({ function DropdownMenuShortcut (line 177) | function DropdownMenuShortcut({ function DropdownMenuSub (line 193) | function DropdownMenuSub({ function DropdownMenuSubTrigger (line 199) | function DropdownMenuSubTrigger({ function DropdownMenuSubContent (line 223) | function DropdownMenuSubContent({ FILE: frontend/src/components/ui/form.tsx type FormFieldContextValue (line 19) | type FormFieldContextValue< type FormItemContextValue (line 66) | type FormItemContextValue = { function FormItem (line 74) | function FormItem({ className, ...props }: React.ComponentProps<"div">) { function FormLabel (line 88) | function FormLabel({ function FormControl (line 105) | function FormControl({ ...props }: React.ComponentProps) { function FormDescription (line 124) | function FormDescription({ className, ...props }: React.ComponentProps<"... function FormMessage (line 137) | function FormMessage({ className, ...props }: React.ComponentProps<"p">) { FILE: frontend/src/components/ui/input-otp.tsx function InputOTP (line 7) | function InputOTP({ function InputOTPGroup (line 27) | function InputOTPGroup({ className, ...props }: React.ComponentProps<"di... function InputOTPSlot (line 37) | function InputOTPSlot({ function InputOTPSeparator (line 67) | function InputOTPSeparator({ ...props }: React.ComponentProps<"div">) { FILE: frontend/src/components/ui/input.tsx function Input (line 5) | function Input({ className, type, ...props }: React.ComponentProps<"inpu... FILE: frontend/src/components/ui/label.tsx function Label (line 6) | function Label({ FILE: frontend/src/components/ui/oauth-button.tsx type Props (line 6) | interface Props extends React.ComponentProps { FILE: frontend/src/components/ui/select.tsx function Select (line 7) | function Select({ function SelectGroup (line 13) | function SelectGroup({ function SelectValue (line 19) | function SelectValue({ function SelectTrigger (line 25) | function SelectTrigger({ function SelectContent (line 51) | function SelectContent({ function SelectLabel (line 86) | function SelectLabel({ function SelectItem (line 99) | function SelectItem({ function SelectSeparator (line 123) | function SelectSeparator({ function SelectScrollUpButton (line 136) | function SelectScrollUpButton({ function SelectScrollDownButton (line 154) | function SelectScrollDownButton({ FILE: frontend/src/components/ui/separator.tsx function Separator (line 8) | function Separator({ function SeperatorWithChildren (line 28) | function SeperatorWithChildren({ children }: { children: React.ReactNode... FILE: frontend/src/components/ui/tooltip.tsx function TooltipProvider (line 6) | function TooltipProvider({ function Tooltip (line 19) | function Tooltip({ function TooltipTrigger (line 25) | function TooltipTrigger({ function TooltipContent (line 31) | function TooltipContent({ FILE: frontend/src/lib/hooks/oidc.ts type OIDCValues (line 1) | type OIDCValues = { type IuseOIDCParams (line 10) | interface IuseOIDCParams { function useOIDCParams (line 19) | function useOIDCParams(params: URLSearchParams): IuseOIDCParams { FILE: frontend/src/lib/hooks/redirect-uri.ts type IuseRedirectUri (line 1) | type IuseRedirectUri = { FILE: frontend/src/lib/i18n/locales.ts type SupportedLanguage (line 34) | type SupportedLanguage = keyof typeof languages; FILE: frontend/src/lib/utils.ts function cn (line 4) | function cn(...inputs: ClassValue[]) { FILE: frontend/src/pages/authorize-page.tsx type Scope (line 27) | type Scope = { FILE: frontend/src/schemas/app-context-schema.ts type AppContextSchema (line 20) | type AppContextSchema = z.infer; FILE: frontend/src/schemas/login-schema.ts type LoginSchema (line 8) | type LoginSchema = z.infer; FILE: frontend/src/schemas/totp-schema.ts type TotpSchema (line 7) | type TotpSchema = z.infer; FILE: frontend/src/schemas/user-context-schema.ts type UserContextSchema (line 14) | type UserContextSchema = z.infer; FILE: gen/gen.go function main (line 8) | func main() { function walkAndBuild (line 15) | func walkAndBuild[T any](parent reflect.Type, parentValue reflect.Value, FILE: gen/gen_env.go type EnvEntry (line 16) | type EnvEntry struct function generateExampleEnv (line 22) | func generateExampleEnv() { function buildEnvEntry (line 46) | func buildEnvEntry(child reflect.StructField, childValue reflect.Value, ... function buildEnvMapEntry (line 86) | func buildEnvMapEntry(child reflect.StructField, parentPath string, entr... function buildEnvChildPath (line 103) | func buildEnvChildPath(parent string, child string) string { function compileEnv (line 107) | func compileEnv(entries []EnvEntry) []byte { FILE: gen/gen_md.go type MarkdownEntry (line 16) | type MarkdownEntry struct function generateMarkdown (line 23) | func generateMarkdown() { function buildMdEntry (line 47) | func buildMdEntry(child reflect.StructField, childValue reflect.Value, p... function buildMdMapEntry (line 77) | func buildMdMapEntry(child reflect.StructField, parentPath string, entri... function buildMdChildPath (line 100) | func buildMdChildPath(parent string, child string) string { function compileMd (line 104) | func compileMd(entries []MarkdownEntry) []byte { FILE: internal/assets/migrations/000001_init_sqlite.up.sql type "sessions" (line 1) | CREATE TABLE IF NOT EXISTS "sessions" ( FILE: internal/assets/migrations/000005_oidc_session.up.sql type "oidc_codes" (line 1) | CREATE TABLE IF NOT EXISTS "oidc_codes" ( type "oidc_tokens" (line 10) | CREATE TABLE IF NOT EXISTS "oidc_tokens" ( type "oidc_userinfo" (line 20) | CREATE TABLE IF NOT EXISTS "oidc_userinfo" ( FILE: internal/bootstrap/app_bootstrap.go type BootstrapApp (line 22) | type BootstrapApp struct method Setup (line 45) | func (app *BootstrapApp) Setup() error { method heartbeat (line 229) | func (app *BootstrapApp) heartbeat() { method dbCleanup (line 283) | func (app *BootstrapApp) dbCleanup(queries *repository.Queries) { function NewBootstrapApp (line 39) | func NewBootstrapApp(config config.Config) *BootstrapApp { FILE: internal/bootstrap/db_bootstrap.go method SetupDatabase (line 17) | func (app *BootstrapApp) SetupDatabase(databasePath string) (*sql.DB, er... FILE: internal/bootstrap/router_bootstrap.go method setupRouter (line 16) | func (app *BootstrapApp) setupRouter() (*gin.Engine, error) { FILE: internal/bootstrap/service_bootstrap.go type Services (line 9) | type Services struct method initServices (line 18) | func (app *BootstrapApp) initServices(queries *repository.Queries) (Serv... FILE: internal/config/config.go function NewDefaultConfiguration (line 4) | func NewDefaultConfiguration() *Config { type Config (line 79) | type Config struct type DatabaseConfig (line 95) | type DatabaseConfig struct type AnalyticsConfig (line 99) | type AnalyticsConfig struct type ResourcesConfig (line 103) | type ResourcesConfig struct type ServerConfig (line 108) | type ServerConfig struct type AuthConfig (line 114) | type AuthConfig struct type IPConfig (line 126) | type IPConfig struct type OAuthConfig (line 131) | type OAuthConfig struct type OIDCConfig (line 137) | type OIDCConfig struct type UIConfig (line 143) | type UIConfig struct type LdapConfig (line 150) | type LdapConfig struct type LogConfig (line 162) | type LogConfig struct type LogStreams (line 168) | type LogStreams struct type LogStreamConfig (line 174) | type LogStreamConfig struct type ExperimentalConfig (line 179) | type ExperimentalConfig struct constant DefaultNamePrefix (line 185) | DefaultNamePrefix = "TINYAUTH_" type Claims (line 189) | type Claims struct type OAuthServiceConfig (line 197) | type OAuthServiceConfig struct type OIDCClientConfig (line 210) | type OIDCClientConfig struct type User (line 226) | type User struct type LdapUser (line 232) | type LdapUser struct type UserSearch (line 237) | type UserSearch struct type UserContext (line 242) | type UserContext struct type UnauthorizedQuery (line 260) | type UnauthorizedQuery struct type RedirectQuery (line 267) | type RedirectQuery struct type Apps (line 273) | type Apps struct type App (line 277) | type App struct type AppConfig (line 287) | type AppConfig struct type AppUsers (line 291) | type AppUsers struct type AppOAuth (line 296) | type AppOAuth struct type AppLDAP (line 301) | type AppLDAP struct type AppIP (line 305) | type AppIP struct type AppResponse (line 311) | type AppResponse struct type AppBasicAuth (line 316) | type AppBasicAuth struct type AppPath (line 322) | type AppPath struct FILE: internal/controller/context_controller.go type UserContextResponse (line 13) | type UserContextResponse struct type AppContextResponse (line 26) | type AppContextResponse struct type Provider (line 39) | type Provider struct type ContextControllerConfig (line 45) | type ContextControllerConfig struct type ContextController (line 56) | type ContextController struct method SetupRoutes (line 72) | func (controller *ContextController) SetupRoutes() { method userContextHandler (line 78) | func (controller *ContextController) userContextHandler(c *gin.Context) { method appContextHandler (line 106) | func (controller *ContextController) appContextHandler(c *gin.Context) { function NewContextController (line 61) | func NewContextController(config ContextControllerConfig, router *gin.Ro... FILE: internal/controller/context_controller_test.go function setupContextController (line 52) | func setupContextController(middlewares *[]gin.HandlerFunc) (*gin.Engine... function TestAppContextHandler (line 74) | func TestAppContextHandler(t *testing.T) { function TestUserContextHandler (line 102) | func TestUserContextHandler(t *testing.T) { FILE: internal/controller/health_controller.go type HealthController (line 5) | type HealthController struct method SetupRoutes (line 15) | func (controller *HealthController) SetupRoutes() { method healthHandler (line 20) | func (controller *HealthController) healthHandler(c *gin.Context) { function NewHealthController (line 9) | func NewHealthController(router *gin.RouterGroup) *HealthController { FILE: internal/controller/oauth_controller.go type OAuthRequest (line 19) | type OAuthRequest struct type OAuthControllerConfig (line 23) | type OAuthControllerConfig struct type OAuthController (line 31) | type OAuthController struct method SetupRoutes (line 47) | func (controller *OAuthController) SetupRoutes() { method oauthURLHandler (line 53) | func (controller *OAuthController) oauthURLHandler(c *gin.Context) { method oauthCallbackHandler (line 102) | func (controller *OAuthController) oauthCallbackHandler(c *gin.Context) { function NewOAuthController (line 38) | func NewOAuthController(config OAuthControllerConfig, router *gin.Router... FILE: internal/controller/oidc_controller.go type OIDCControllerConfig (line 17) | type OIDCControllerConfig struct type OIDCController (line 19) | type OIDCController struct method SetupRoutes (line 66) | func (controller *OIDCController) SetupRoutes() { method GetClientInfo (line 74) | func (controller *OIDCController) GetClientInfo(c *gin.Context) { method Authorize (line 105) | func (controller *OIDCController) Authorize(c *gin.Context) { method Token (line 195) | func (controller *OIDCController) Token(c *gin.Context) { method Userinfo (line 358) | func (controller *OIDCController) Userinfo(c *gin.Context) { method authorizeError (line 427) | func (controller *OIDCController) authorizeError(c *gin.Context, err e... type AuthorizeCallback (line 25) | type AuthorizeCallback struct type TokenRequest (line 30) | type TokenRequest struct type CallbackError (line 39) | type CallbackError struct type ErrorScreen (line 45) | type ErrorScreen struct type ClientRequest (line 49) | type ClientRequest struct type ClientCredentials (line 53) | type ClientCredentials struct function NewOIDCController (line 58) | func NewOIDCController(config OIDCControllerConfig, oidcService *service... FILE: internal/controller/oidc_controller_test.go function TestOIDCController (line 58) | func TestOIDCController(t *testing.T) { FILE: internal/controller/proxy_controller.go type AuthModuleType (line 20) | type AuthModuleType constant AuthRequest (line 23) | AuthRequest AuthModuleType = iota constant ExtAuthz (line 24) | ExtAuthz constant ForwardAuth (line 25) | ForwardAuth type Proxy (line 30) | type Proxy struct type ProxyContext (line 34) | type ProxyContext struct type ProxyControllerConfig (line 43) | type ProxyControllerConfig struct type ProxyController (line 47) | type ProxyController struct method SetupRoutes (line 63) | func (controller *ProxyController) SetupRoutes() { method proxyHandler (line 68) | func (controller *ProxyController) proxyHandler(c *gin.Context) { method setHeaders (line 280) | func (controller *ProxyController) setHeaders(c *gin.Context, acls con... method handleError (line 298) | func (controller *ProxyController) handleError(c *gin.Context, proxyCt... method getHeader (line 310) | func (controller *ProxyController) getHeader(c *gin.Context, header st... method useFriendlyError (line 315) | func (controller *ProxyController) useFriendlyError(proxyCtx ProxyCont... method getForwardAuthContext (line 321) | func (controller *ProxyController) getForwardAuthContext(c *gin.Contex... method getAuthRequestContext (line 353) | func (controller *ProxyController) getAuthRequestContext(c *gin.Contex... method getExtAuthzContext (line 390) | func (controller *ProxyController) getExtAuthzContext(c *gin.Context) ... method determineAuthModules (line 420) | func (controller *ProxyController) determineAuthModules(proxy string) ... method getContextFromAuthModule (line 433) | func (controller *ProxyController) getContextFromAuthModule(c *gin.Con... method getProxyContext (line 457) | func (controller *ProxyController) getProxyContext(c *gin.Context) (Pr... function NewProxyController (line 54) | func NewProxyController(config ProxyControllerConfig, router *gin.Router... FILE: internal/controller/proxy_controller_test.go function setupProxyController (line 26) | func setupProxyController(t *testing.T, middlewares []gin.HandlerFunc) (... function TestProxyHandler (line 101) | func TestProxyHandler(t *testing.T) { FILE: internal/controller/resources_controller.go type ResourcesControllerConfig (line 9) | type ResourcesControllerConfig struct type ResourcesController (line 14) | type ResourcesController struct method SetupRoutes (line 30) | func (controller *ResourcesController) SetupRoutes() { method resourcesHandler (line 34) | func (controller *ResourcesController) resourcesHandler(c *gin.Context) { function NewResourcesController (line 20) | func NewResourcesController(config ResourcesControllerConfig, router *gi... FILE: internal/controller/resources_controller_test.go function TestResourcesHandler (line 14) | func TestResourcesHandler(t *testing.T) { FILE: internal/controller/user_controller.go type LoginRequest (line 16) | type LoginRequest struct type TotpRequest (line 21) | type TotpRequest struct type UserControllerConfig (line 25) | type UserControllerConfig struct type UserController (line 29) | type UserController struct method SetupRoutes (line 43) | func (controller *UserController) SetupRoutes() { method loginHandler (line 50) | func (controller *UserController) loginHandler(c *gin.Context) { method logoutHandler (line 170) | func (controller *UserController) logoutHandler(c *gin.Context) { method totpHandler (line 186) | func (controller *UserController) totpHandler(c *gin.Context) { function NewUserController (line 35) | func NewUserController(config UserControllerConfig, router *gin.RouterGr... FILE: internal/controller/user_controller_test.go function setupUserController (line 26) | func setupUserController(t *testing.T, middlewares *[]gin.HandlerFunc) (... function TestLoginHandler (line 85) | func TestLoginHandler(t *testing.T) { function TestLogoutHandler (line 174) | func TestLogoutHandler(t *testing.T) { function TestTotpHandler (line 197) | func TestTotpHandler(t *testing.T) { FILE: internal/controller/well_known_controller.go type OpenIDConnectConfiguration (line 11) | type OpenIDConnectConfiguration struct type WellKnownControllerConfig (line 27) | type WellKnownControllerConfig struct type WellKnownController (line 29) | type WellKnownController struct method SetupRoutes (line 43) | func (controller *WellKnownController) SetupRoutes() { method OpenIDConnectConfiguration (line 48) | func (controller *WellKnownController) OpenIDConnectConfiguration(c *g... method JWKS (line 67) | func (controller *WellKnownController) JWKS(c *gin.Context) { function NewWellKnownController (line 35) | func NewWellKnownController(config WellKnownControllerConfig, oidc *serv... FILE: internal/middleware/context_middleware.go type ContextMiddlewareConfig (line 18) | type ContextMiddlewareConfig struct type ContextMiddleware (line 22) | type ContextMiddleware struct method Init (line 36) | func (m *ContextMiddleware) Init() error { method Middleware (line 40) | func (m *ContextMiddleware) Middleware() gin.HandlerFunc { function NewContextMiddleware (line 28) | func NewContextMiddleware(config ContextMiddlewareConfig, auth *service.... FILE: internal/middleware/ui_middleware.go type UIMiddleware (line 17) | type UIMiddleware struct method Init (line 26) | func (m *UIMiddleware) Init() error { method Middleware (line 39) | func (m *UIMiddleware) Middleware() gin.HandlerFunc { function NewUIMiddleware (line 22) | func NewUIMiddleware() *UIMiddleware { FILE: internal/middleware/zerolog_middleware.go type ZerologMiddleware (line 19) | type ZerologMiddleware struct method Init (line 25) | func (m *ZerologMiddleware) Init() error { method logPath (line 29) | func (m *ZerologMiddleware) logPath(path string) bool { method Middleware (line 38) | func (m *ZerologMiddleware) Middleware() gin.HandlerFunc { function NewZerologMiddleware (line 21) | func NewZerologMiddleware() *ZerologMiddleware { FILE: internal/repository/db.go type DBTX (line 12) | type DBTX interface function New (line 19) | func New(db DBTX) *Queries { type Queries (line 23) | type Queries struct method WithTx (line 27) | func (q *Queries) WithTx(tx *sql.Tx) *Queries { FILE: internal/repository/models.go type OidcCode (line 7) | type OidcCode struct type OidcToken (line 17) | type OidcToken struct type OidcUserinfo (line 28) | type OidcUserinfo struct type Session (line 37) | type Session struct FILE: internal/repository/oidc_queries.sql.go constant createOidcCode (line 12) | createOidcCode = `-- name: CreateOidcCode :one type CreateOidcCodeParams (line 27) | type CreateOidcCodeParams struct method CreateOidcCode (line 37) | func (q *Queries) CreateOidcCode(ctx context.Context, arg CreateOidcCode... constant createOidcToken (line 60) | createOidcToken = `-- name: CreateOidcToken :one type CreateOidcTokenParams (line 76) | type CreateOidcTokenParams struct method CreateOidcToken (line 87) | func (q *Queries) CreateOidcToken(ctx context.Context, arg CreateOidcTok... constant createOidcUserInfo (line 112) | createOidcUserInfo = `-- name: CreateOidcUserInfo :one type CreateOidcUserInfoParams (line 126) | type CreateOidcUserInfoParams struct method CreateOidcUserInfo (line 135) | func (q *Queries) CreateOidcUserInfo(ctx context.Context, arg CreateOidc... constant deleteExpiredOidcCodes (line 156) | deleteExpiredOidcCodes = `-- name: DeleteExpiredOidcCodes :many method DeleteExpiredOidcCodes (line 162) | func (q *Queries) DeleteExpiredOidcCodes(ctx context.Context, expiresAt ... constant deleteExpiredOidcTokens (line 193) | deleteExpiredOidcTokens = `-- name: DeleteExpiredOidcTokens :many type DeleteExpiredOidcTokensParams (line 199) | type DeleteExpiredOidcTokensParams struct method DeleteExpiredOidcTokens (line 204) | func (q *Queries) DeleteExpiredOidcTokens(ctx context.Context, arg Delet... constant deleteOidcCode (line 236) | deleteOidcCode = `-- name: DeleteOidcCode :exec method DeleteOidcCode (line 241) | func (q *Queries) DeleteOidcCode(ctx context.Context, codeHash string) e... constant deleteOidcCodeBySub (line 246) | deleteOidcCodeBySub = `-- name: DeleteOidcCodeBySub :exec method DeleteOidcCodeBySub (line 251) | func (q *Queries) DeleteOidcCodeBySub(ctx context.Context, sub string) e... constant deleteOidcToken (line 256) | deleteOidcToken = `-- name: DeleteOidcToken :exec method DeleteOidcToken (line 261) | func (q *Queries) DeleteOidcToken(ctx context.Context, accessTokenHash s... constant deleteOidcTokenBySub (line 266) | deleteOidcTokenBySub = `-- name: DeleteOidcTokenBySub :exec method DeleteOidcTokenBySub (line 271) | func (q *Queries) DeleteOidcTokenBySub(ctx context.Context, sub string) ... constant deleteOidcUserInfo (line 276) | deleteOidcUserInfo = `-- name: DeleteOidcUserInfo :exec method DeleteOidcUserInfo (line 281) | func (q *Queries) DeleteOidcUserInfo(ctx context.Context, sub string) er... constant getOidcCode (line 286) | getOidcCode = `-- name: GetOidcCode :one method GetOidcCode (line 292) | func (q *Queries) GetOidcCode(ctx context.Context, codeHash string) (Oid... constant getOidcCodeBySub (line 307) | getOidcCodeBySub = `-- name: GetOidcCodeBySub :one method GetOidcCodeBySub (line 313) | func (q *Queries) GetOidcCodeBySub(ctx context.Context, sub string) (Oid... constant getOidcCodeBySubUnsafe (line 328) | getOidcCodeBySubUnsafe = `-- name: GetOidcCodeBySubUnsafe :one method GetOidcCodeBySubUnsafe (line 333) | func (q *Queries) GetOidcCodeBySubUnsafe(ctx context.Context, sub string... constant getOidcCodeUnsafe (line 348) | getOidcCodeUnsafe = `-- name: GetOidcCodeUnsafe :one method GetOidcCodeUnsafe (line 353) | func (q *Queries) GetOidcCodeUnsafe(ctx context.Context, codeHash string... constant getOidcToken (line 368) | getOidcToken = `-- name: GetOidcToken :one method GetOidcToken (line 373) | func (q *Queries) GetOidcToken(ctx context.Context, accessTokenHash stri... constant getOidcTokenByRefreshToken (line 389) | getOidcTokenByRefreshToken = `-- name: GetOidcTokenByRefreshToken :one method GetOidcTokenByRefreshToken (line 394) | func (q *Queries) GetOidcTokenByRefreshToken(ctx context.Context, refres... constant getOidcTokenBySub (line 410) | getOidcTokenBySub = `-- name: GetOidcTokenBySub :one method GetOidcTokenBySub (line 415) | func (q *Queries) GetOidcTokenBySub(ctx context.Context, sub string) (Oi... constant getOidcUserInfo (line 431) | getOidcUserInfo = `-- name: GetOidcUserInfo :one method GetOidcUserInfo (line 436) | func (q *Queries) GetOidcUserInfo(ctx context.Context, sub string) (Oidc... constant updateOidcTokenByRefreshToken (line 450) | updateOidcTokenByRefreshToken = `-- name: UpdateOidcTokenByRefreshToken ... type UpdateOidcTokenByRefreshTokenParams (line 460) | type UpdateOidcTokenByRefreshTokenParams struct method UpdateOidcTokenByRefreshToken (line 468) | func (q *Queries) UpdateOidcTokenByRefreshToken(ctx context.Context, arg... FILE: internal/repository/session_queries.sql.go constant createSession (line 12) | createSession = `-- name: CreateSession :one type CreateSessionParams (line 31) | type CreateSessionParams struct method CreateSession (line 45) | func (q *Queries) CreateSession(ctx context.Context, arg CreateSessionPa... constant deleteExpiredSessions (line 76) | deleteExpiredSessions = `-- name: DeleteExpiredSessions :exec method DeleteExpiredSessions (line 81) | func (q *Queries) DeleteExpiredSessions(ctx context.Context, expiry int6... constant deleteSession (line 86) | deleteSession = `-- name: DeleteSession :exec method DeleteSession (line 91) | func (q *Queries) DeleteSession(ctx context.Context, uuid string) error { constant getSession (line 96) | getSession = `-- name: GetSession :one method GetSession (line 101) | func (q *Queries) GetSession(ctx context.Context, uuid string) (Session,... constant updateSession (line 120) | updateSession = `-- name: UpdateSession :one type UpdateSessionParams (line 135) | type UpdateSessionParams struct method UpdateSession (line 148) | func (q *Queries) UpdateSession(ctx context.Context, arg UpdateSessionPa... FILE: internal/service/access_controls_service.go type AccessControlsService (line 11) | type AccessControlsService struct method Init (line 23) | func (acls *AccessControlsService) Init() error { method lookupStaticACLs (line 27) | func (acls *AccessControlsService) lookupStaticACLs(domain string) (co... method GetAccessControls (line 42) | func (acls *AccessControlsService) GetAccessControls(domain string) (c... function NewAccessControlsService (line 16) | func NewAccessControlsService(docker *DockerService, static map[string]c... FILE: internal/service/auth_service.go type LdapGroupsCache (line 22) | type LdapGroupsCache struct type LoginAttempt (line 27) | type LoginAttempt struct type AuthServiceConfig (line 33) | type AuthServiceConfig struct type AuthService (line 47) | type AuthService struct method Init (line 69) | func (auth *AuthService) Init() error { method SearchUser (line 73) | func (auth *AuthService) SearchUser(username string) config.UserSearch { method VerifyUser (line 102) | func (auth *AuthService) VerifyUser(search config.UserSearch, password... method GetLocalUser (line 132) | func (auth *AuthService) GetLocalUser(username string) config.User { method GetLdapUser (line 143) | func (auth *AuthService) GetLdapUser(userDN string) (config.LdapUser, ... method CheckPassword (line 178) | func (auth *AuthService) CheckPassword(user config.User, password stri... method IsAccountLocked (line 182) | func (auth *AuthService) IsAccountLocked(identifier string) (bool, int) { method RecordLoginAttempt (line 203) | func (auth *AuthService) RecordLoginAttempt(identifier string, success... method IsEmailWhitelisted (line 233) | func (auth *AuthService) IsEmailWhitelisted(email string) bool { method CreateSessionCookie (line 237) | func (auth *AuthService) CreateSessionCookie(c *gin.Context, data *rep... method RefreshSessionCookie (line 277) | func (auth *AuthService) RefreshSessionCookie(c *gin.Context) error { method DeleteSessionCookie (line 329) | func (auth *AuthService) DeleteSessionCookie(c *gin.Context) error { method GetSessionCookie (line 347) | func (auth *AuthService) GetSessionCookie(c *gin.Context) (repository.... method LocalAuthConfigured (line 396) | func (auth *AuthService) LocalAuthConfigured() bool { method LdapAuthConfigured (line 400) | func (auth *AuthService) LdapAuthConfigured() bool { method IsUserAllowed (line 404) | func (auth *AuthService) IsUserAllowed(c *gin.Context, context config.... method IsInOAuthGroup (line 421) | func (auth *AuthService) IsInOAuthGroup(c *gin.Context, context config... method IsInLdapGroup (line 444) | func (auth *AuthService) IsInLdapGroup(c *gin.Context, context config.... method IsAuthEnabled (line 460) | func (auth *AuthService) IsAuthEnabled(uri string, path config.AppPath... method GetBasicAuth (line 490) | func (auth *AuthService) GetBasicAuth(c *gin.Context) *config.User { method CheckIP (line 502) | func (auth *AuthService) CheckIP(acls config.AppIP, ip string) bool { method IsBypassedIP (line 540) | func (auth *AuthService) IsBypassedIP(acls config.AppIP, ip string) bo... function NewAuthService (line 58) | func NewAuthService(config AuthServiceConfig, docker *DockerService, lda... FILE: internal/service/docker_service.go type DockerService (line 15) | type DockerService struct method Init (line 25) | func (docker *DockerService) Init() error { method getContainers (line 53) | func (docker *DockerService) getContainers() ([]container.Summary, err... method inspectContainer (line 61) | func (docker *DockerService) inspectContainer(containerId string) (con... method GetLabels (line 69) | func (docker *DockerService) GetLabels(appDomain string) (config.App, ... function NewDockerService (line 21) | func NewDockerService() *DockerService { FILE: internal/service/generic_oauth_service.go type GenericOAuthService (line 20) | type GenericOAuthService struct method Init (line 48) | func (generic *GenericOAuthService) Init() error { method GenerateState (line 69) | func (generic *GenericOAuthService) GenerateState() string { method GenerateVerifier (line 79) | func (generic *GenericOAuthService) GenerateVerifier() string { method GetAuthURL (line 85) | func (generic *GenericOAuthService) GetAuthURL(state string) string { method VerifyCode (line 89) | func (generic *GenericOAuthService) VerifyCode(code string) error { method Userinfo (line 100) | func (generic *GenericOAuthService) Userinfo() (config.Claims, error) { method GetName (line 130) | func (generic *GenericOAuthService) GetName() string { function NewGenericOAuthService (line 30) | func NewGenericOAuthService(config config.OAuthServiceConfig) *GenericOA... FILE: internal/service/github_oauth_service.go type GithubEmailResponse (line 23) | type GithubEmailResponse type GithubUserInfoResponse (line 28) | type GithubUserInfoResponse struct type GithubOAuthService (line 34) | type GithubOAuthService struct method Init (line 55) | func (github *GithubOAuthService) Init() error { method GenerateState (line 65) | func (github *GithubOAuthService) GenerateState() string { method GenerateVerifier (line 75) | func (github *GithubOAuthService) GenerateVerifier() string { method GetAuthURL (line 81) | func (github *GithubOAuthService) GetAuthURL(state string) string { method VerifyCode (line 85) | func (github *GithubOAuthService) VerifyCode(code string) error { method Userinfo (line 96) | func (github *GithubOAuthService) Userinfo() (config.Claims, error) { method GetName (line 182) | func (github *GithubOAuthService) GetName() string { function NewGithubOAuthService (line 42) | func NewGithubOAuthService(config config.OAuthServiceConfig) *GithubOAut... FILE: internal/service/google_oauth_service.go type GoogleOAuthService (line 22) | type GoogleOAuthService struct method Init (line 43) | func (google *GoogleOAuthService) Init() error { method GenerateState (line 53) | func (oauth *GoogleOAuthService) GenerateState() string { method GenerateVerifier (line 63) | func (google *GoogleOAuthService) GenerateVerifier() string { method GetAuthURL (line 69) | func (google *GoogleOAuthService) GetAuthURL(state string) string { method VerifyCode (line 73) | func (google *GoogleOAuthService) VerifyCode(code string) error { method Userinfo (line 84) | func (google *GoogleOAuthService) Userinfo() (config.Claims, error) { method GetName (line 114) | func (google *GoogleOAuthService) GetName() string { function NewGoogleOAuthService (line 30) | func NewGoogleOAuthService(config config.OAuthServiceConfig) *GoogleOAut... FILE: internal/service/ldap_service.go type LdapServiceConfig (line 15) | type LdapServiceConfig struct type LdapService (line 26) | type LdapService struct method IsConfigured (line 40) | func (ldap *LdapService) IsConfigured() bool { method Unconfigure (line 44) | func (ldap *LdapService) Unconfigure() error { method Init (line 59) | func (ldap *LdapService) Init() error { method connect (line 109) | func (ldap *LdapService) connect() (*ldapgo.Conn, error) { method GetUserDN (line 146) | func (ldap *LdapService) GetUserDN(username string) (string, error) { method GetUserGroups (line 175) | func (ldap *LdapService) GetUserGroups(userDN string) ([]string, error) { method BindService (line 217) | func (ldap *LdapService) BindService(rebind bool) error { method Bind (line 230) | func (ldap *LdapService) Bind(userDN string, password string) error { method heartbeat (line 240) | func (ldap *LdapService) heartbeat() error { method reconnect (line 262) | func (ldap *LdapService) reconnect() error { function NewLdapService (line 34) | func NewLdapService(config LdapServiceConfig) *LdapService { FILE: internal/service/oauth_broker_service.go type OAuthService (line 12) | type OAuthService interface type OAuthBrokerService (line 22) | type OAuthBrokerService struct method Init (line 34) | func (broker *OAuthBrokerService) Init() error { method GetConfiguredServices (line 61) | func (broker *OAuthBrokerService) GetConfiguredServices() []string { method GetService (line 70) | func (broker *OAuthBrokerService) GetService(name string) (OAuthServic... method GetUser (line 75) | func (broker *OAuthBrokerService) GetUser(service string) (config.Clai... function NewOAuthBrokerService (line 27) | func NewOAuthBrokerService(configs map[string]config.OAuthServiceConfig)... FILE: internal/service/oidc_service.go type ClaimSet (line 44) | type ClaimSet struct type UserinfoResponse (line 58) | type UserinfoResponse struct type TokenResponse (line 68) | type TokenResponse struct type AuthorizeRequest (line 77) | type AuthorizeRequest struct type OIDCServiceConfig (line 86) | type OIDCServiceConfig struct type OIDCService (line 94) | type OIDCService struct method IsConfigured (line 111) | func (service *OIDCService) IsConfigured() bool { method Init (line 115) | func (service *OIDCService) Init() error { method GetIssuer (line 254) | func (service *OIDCService) GetIssuer() string { method GetClient (line 258) | func (service *OIDCService) GetClient(id string) (config.OIDCClientCon... method ValidateAuthorizeParams (line 263) | func (service *OIDCService) ValidateAuthorizeParams(req AuthorizeReque... method filterScopes (line 299) | func (service *OIDCService) filterScopes(scopes []string) []string { method StoreCode (line 305) | func (service *OIDCService) StoreCode(c *gin.Context, sub string, code... method StoreUserinfo (line 324) | func (service *OIDCService) StoreUserinfo(c *gin.Context, sub string, ... method ValidateGrantType (line 347) | func (service *OIDCService) ValidateGrantType(grantType string) error { method GetCodeEntry (line 355) | func (service *OIDCService) GetCodeEntry(c *gin.Context, codeHash stri... method generateIDToken (line 384) | func (service *OIDCService) generateIDToken(client config.OIDCClientCo... method GenerateAccessToken (line 450) | func (service *OIDCService) GenerateAccessToken(c *gin.Context, client... method RefreshAccessToken (line 498) | func (service *OIDCService) RefreshAccessToken(c *gin.Context, refresh... method DeleteCodeEntry (line 561) | func (service *OIDCService) DeleteCodeEntry(c *gin.Context, codeHash s... method DeleteUserinfo (line 565) | func (service *OIDCService) DeleteUserinfo(c *gin.Context, sub string)... method DeleteToken (line 569) | func (service *OIDCService) DeleteToken(c *gin.Context, tokenHash stri... method GetAccessToken (line 573) | func (service *OIDCService) GetAccessToken(c *gin.Context, tokenHash s... method GetUserinfo (line 601) | func (service *OIDCService) GetUserinfo(c *gin.Context, sub string) (r... method CompileUserinfo (line 605) | func (service *OIDCService) CompileUserinfo(user repository.OidcUserin... method Hash (line 634) | func (service *OIDCService) Hash(token string) string { method DeleteOldSession (line 640) | func (service *OIDCService) DeleteOldSession(ctx context.Context, sub ... method Cleanup (line 657) | func (service *OIDCService) Cleanup() { method GetJWK (line 711) | func (service *OIDCService) GetJWK() ([]byte, error) { function NewOIDCService (line 104) | func NewOIDCService(config OIDCServiceConfig, queries *repository.Querie... FILE: internal/utils/app_utils.go function GetCookieDomain (line 17) | func GetCookieDomain(u string) (string, error) { function ParseFileToLine (line 46) | func ParseFileToLine(content string) string { function Filter (line 60) | func Filter[T any](slice []T, test func(T) bool) (res []T) { function GetContext (line 70) | func GetContext(c *gin.Context) (config.UserContext, error) { function IsRedirectSafe (line 86) | func IsRedirectSafe(redirectURL string, domain string) bool { FILE: internal/utils/app_utils_test.go function TestGetRootDomain (line 13) | func TestGetRootDomain(t *testing.T) { function TestParseFileToLine (line 69) | func TestParseFileToLine(t *testing.T) { function TestFilter (line 101) | func TestFilter(t *testing.T) { function TestGetContext (line 138) | func TestGetContext(t *testing.T) { function TestIsRedirectSafe (line 160) | func TestIsRedirectSafe(t *testing.T) { FILE: internal/utils/decoders/label_decoder.go function DecodeLabels (line 7) | func DecodeLabels[T any](labels map[string]string, root string) (T, erro... FILE: internal/utils/decoders/label_decoder_test.go function TestDecodeLabels (line 12) | func TestDecodeLabels(t *testing.T) { FILE: internal/utils/fs_utils.go function ReadFile (line 5) | func ReadFile(file string) (string, error) { FILE: internal/utils/fs_utils_test.go function TestReadFile (line 10) | func TestReadFile(t *testing.T) { FILE: internal/utils/label_utils.go function ParseHeaders (line 8) | func ParseHeaders(headers []string) map[string]string { function SanitizeHeader (line 26) | func SanitizeHeader(header string) string { FILE: internal/utils/label_utils_test.go function TestParseHeaders (line 11) | func TestParseHeaders(t *testing.T) { function TestSanitizeHeader (line 68) | func TestSanitizeHeader(t *testing.T) { FILE: internal/utils/loaders/loader_env.go type EnvLoader (line 13) | type EnvLoader struct method Load (line 15) | func (e *EnvLoader) Load(_ []string, cmd *cli.Command) (bool, error) { FILE: internal/utils/loaders/loader_file.go type FileLoader (line 12) | type FileLoader struct method Load (line 14) | func (f *FileLoader) Load(args []string, cmd *cli.Command) (bool, erro... FILE: internal/utils/loaders/loader_flag.go type FlagLoader (line 10) | type FlagLoader struct method Load (line 12) | func (*FlagLoader) Load(args []string, cmd *cli.Command) (bool, error) { FILE: internal/utils/security_utils.go function GetSecret (line 14) | func GetSecret(conf string, file string) string { function ParseSecretFile (line 31) | func ParseSecretFile(contents string) string { function GetBasicAuth (line 44) | func GetBasicAuth(username string, password string) string { function FilterIP (line 49) | func FilterIP(filter string, ip string) (bool, error) { function CheckFilter (line 78) | func CheckFilter(filter string, str string) bool { function GenerateUUID (line 105) | func GenerateUUID(str string) string { function GenerateString (line 110) | func GenerateString(length int) string { FILE: internal/utils/security_utils_test.go function TestGetSecret (line 12) | func TestGetSecret(t *testing.T) { function TestParseSecretFile (line 40) | func TestParseSecretFile(t *testing.T) { function TestGetBasicAuth (line 58) | func TestGetBasicAuth(t *testing.T) { function TestFilterIP (line 78) | func TestFilterIP(t *testing.T) { function TestCheckFilter (line 120) | func TestCheckFilter(t *testing.T) { function TestGenerateUUID (line 140) | func TestGenerateUUID(t *testing.T) { FILE: internal/utils/string_utils.go function Capitalize (line 7) | func Capitalize(str string) string { function CoalesceToString (line 14) | func CoalesceToString(value any) string { FILE: internal/utils/string_utils_test.go function TestCapitalize (line 11) | func TestCapitalize(t *testing.T) { function TestCoalesceToString (line 33) | func TestCoalesceToString(t *testing.T) { function TestCompileUserEmail (line 53) | func TestCompileUserEmail(t *testing.T) { FILE: internal/utils/tlog/log_audit.go function AuditLoginSuccess (line 7) | func AuditLoginSuccess(c *gin.Context, username, provider string) { function AuditLoginFailure (line 18) | func AuditLoginFailure(c *gin.Context, username, provider string, reason... function AuditLogout (line 30) | func AuditLogout(c *gin.Context, username, provider string) { FILE: internal/utils/tlog/log_wrapper.go type Logger (line 13) | type Logger struct method Init (line 58) | func (l *Logger) Init() { function NewLogger (line 25) | func NewLogger(cfg config.LogConfig) *Logger { function NewSimpleLogger (line 46) | func NewSimpleLogger() *Logger { function createLogger (line 64) | func createLogger(component string, streamCfg config.LogStreamConfig, ba... function parseLogLevel (line 76) | func parseLogLevel(level string) zerolog.Level { FILE: internal/utils/tlog/log_wrapper_test.go function TestNewLogger (line 15) | func TestNewLogger(t *testing.T) { function TestNewSimpleLogger (line 34) | func TestNewSimpleLogger(t *testing.T) { function TestLoggerInit (line 42) | func TestLoggerInit(t *testing.T) { function TestLoggerWithDisabledStreams (line 49) | func TestLoggerWithDisabledStreams(t *testing.T) { function TestLogStreamField (line 67) | func TestLogStreamField(t *testing.T) { FILE: internal/utils/user_utils.go function ParseUsers (line 12) | func ParseUsers(usersStr []string) ([]config.User, error) { function GetUsers (line 33) | func GetUsers(usersCfg []string, usersPath string) ([]config.User, error) { function ParseUser (line 65) | func ParseUser(userStr string) (config.User, error) { function CompileUserEmail (line 96) | func CompileUserEmail(username string, domain string) string { FILE: internal/utils/user_utils_test.go function TestGetUsers (line 12) | func TestGetUsers(t *testing.T) { function TestParseUsers (line 77) | func TestParseUsers(t *testing.T) { function TestParseUser (line 106) | func TestParseUser(t *testing.T) { FILE: sql/oidc_schemas.sql type "oidc_codes" (line 1) | CREATE TABLE IF NOT EXISTS "oidc_codes" ( type "oidc_tokens" (line 11) | CREATE TABLE IF NOT EXISTS "oidc_tokens" ( type "oidc_userinfo" (line 22) | CREATE TABLE IF NOT EXISTS "oidc_userinfo" ( FILE: sql/session_schemas.sql type "sessions" (line 1) | CREATE TABLE IF NOT EXISTS "sessions" (