MCPcopy
hub / github.com/cloudflare/cloudflared / Authenticator

Interface Authenticator

socks/authenticator.go:9–11  ·  view source on GitHub ↗

Authenticator is the connection passed in as a reader/writer to support different authentication types

Source from the content-addressed store, hash-verified

7
8// Authenticator is the connection passed in as a reader/writer to support different authentication types
9type Authenticator interface {
10 Handle(io.Reader, io.Writer) error
11}
12
13// NoAuthAuthenticator is used to handle the No Authentication mode
14type NoAuthAuthenticator struct{}

Callers

nothing calls this directly

Implementers 5

JWTValidatoringress/middleware/jwtvalidator.go
NoAuthAuthenticatorsocks/authenticator.go
UserPassAuthAuthenticatorsocks/authenticator.go
StandardRequestHandlersocks/request_handler.go
StandardAuthHandlersocks/auth_handler.go

Calls

no outgoing calls

Tested by

no test coverage detected