auth

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 6 Imported by: 0

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 (CertificateAuthDetector) Name

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 (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 (SessionHeaderAuthDetector) Name

func (SessionHeaderAuthDetector) SupportedLanguages

func (SessionHeaderAuthDetector) SupportedLanguages() []string

Jump to

Keyboard shortcuts

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