Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HMACValidator ¶
type HMACValidator struct {
// contains filtered or unexported fields
}
HMACValidator validates JWT tokens using HMAC-SHA256 (backward compatibility)
func (*HMACValidator) Initialize ¶
func (v *HMACValidator) Initialize(cfg *Config) error
Initialize sets up the HMAC validator with JWT secret and audience
func (*HMACValidator) ValidateToken ¶
ValidateToken validates JWT token using HMAC-SHA256
type Logger ¶
type Logger interface {
Debug(msg string, args ...interface{})
Info(msg string, args ...interface{})
Warn(msg string, args ...interface{})
Error(msg string, args ...interface{})
}
Logger interface for pluggable logging
type OIDCValidator ¶
type OIDCValidator struct {
// contains filtered or unexported fields
}
OIDCValidator validates JWT tokens using OIDC/JWKS (Okta, Google, Azure)
func (*OIDCValidator) Initialize ¶
func (v *OIDCValidator) Initialize(cfg *Config) error
Initialize sets up the OIDC validator with provider discovery
func (*OIDCValidator) ValidateToken ¶
ValidateToken validates JWT token using OIDC/JWKS
Click to show internal directories.
Click to hide internal directories.