auth

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectAuth

func DetectAuth(middlewares []ast.Expr, info *types.Info, pkgs []*packages.Package) model.AuthDef

DetectAuth examines middleware expressions to determine the authentication scheme(s) required by an endpoint. It resolves each middleware to its function body and scans for known auth patterns.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL