Documentation
¶
Overview ¶
Package auth holds cross-cutting authentication-related detectors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateAuthDetector ¶
type CertificateAuthDetector struct{}
CertificateAuthDetector detects certificate-based authentication (mTLS, X.509, TLS config, Azure AD client-cert flows). Mirrors Java CertificateAuthDetector — same multi-pattern + auth_type tag table.
func NewCertificateAuthDetector ¶
func NewCertificateAuthDetector() *CertificateAuthDetector
func (CertificateAuthDetector) DefaultConfidence ¶
func (CertificateAuthDetector) DefaultConfidence() model.Confidence
func (CertificateAuthDetector) Detect ¶
func (d CertificateAuthDetector) Detect(ctx *detector.Context) *detector.Result
func (CertificateAuthDetector) Name ¶
func (CertificateAuthDetector) Name() string
func (CertificateAuthDetector) SupportedLanguages ¶
func (CertificateAuthDetector) SupportedLanguages() []string
type LdapAuthDetector ¶
type LdapAuthDetector struct{}
LdapAuthDetector detects LDAP / Active Directory authentication configuration across Java, Python, TypeScript, and C#. Mirrors Java LdapAuthDetector.
func NewLdapAuthDetector ¶
func NewLdapAuthDetector() *LdapAuthDetector
func (LdapAuthDetector) DefaultConfidence ¶
func (LdapAuthDetector) DefaultConfidence() model.Confidence
func (LdapAuthDetector) Detect ¶
func (d LdapAuthDetector) Detect(ctx *detector.Context) *detector.Result
func (LdapAuthDetector) Name ¶
func (LdapAuthDetector) Name() string
func (LdapAuthDetector) SupportedLanguages ¶
func (LdapAuthDetector) SupportedLanguages() []string
type SessionHeaderAuthDetector ¶
type SessionHeaderAuthDetector struct{}
SessionHeaderAuthDetector detects session-, header-, and API-key-based authentication. Mirrors Java SessionHeaderAuthDetector.
func NewSessionHeaderAuthDetector ¶
func NewSessionHeaderAuthDetector() *SessionHeaderAuthDetector
func (SessionHeaderAuthDetector) DefaultConfidence ¶
func (SessionHeaderAuthDetector) DefaultConfidence() model.Confidence
func (SessionHeaderAuthDetector) Detect ¶
func (d SessionHeaderAuthDetector) Detect(ctx *detector.Context) *detector.Result
func (SessionHeaderAuthDetector) Name ¶
func (SessionHeaderAuthDetector) Name() string
func (SessionHeaderAuthDetector) SupportedLanguages ¶
func (SessionHeaderAuthDetector) SupportedLanguages() []string
Click to show internal directories.
Click to hide internal directories.