Versions in this module Expand all Collapse all v0 v0.0.1 Feb 26, 2024 Changes in this version + const MaxAuthMessageLength + func RunAgentClient(conf *config.AgentCmd) error + type Attributes struct + AgentID string + Role string + type Authenticator interface + Authenticate func(ctx context.Context, conn quic.Connection) error + func NewJWTAuthenticator(token string) (Authenticator, error) + func NewNoAuthAuthenticator(agentID string) (Authenticator, error) + type JWTAuthenticator struct + func (r *JWTAuthenticator) Authenticate(ctx context.Context, conn quic.Connection) error + type JWTVerifier struct + func (r *JWTVerifier) Verify(ctx context.Context, conn quic.Connection) (*Attributes, error) + type NoAuthAuthenticator struct + func (r *NoAuthAuthenticator) Authenticate(ctx context.Context, conn quic.Connection) error + type NoAuthVerifier struct + func (r *NoAuthVerifier) Verify(ctx context.Context, conn quic.Connection) (*Attributes, error) + type QuickClient struct + func NewQuickClient(parent context.Context, address string, authenticator Authenticator, ...) (*QuickClient, error) + type Verifier interface + Verify func(ctx context.Context, conn quic.Connection) (*Attributes, error) + func NewJWTVerifier(tokenVerifier jwtutil.TokenVerifier) Verifier + func NewNoAuthVerifier() Verifier