Documentation
¶
Overview ¶
Package noop provides a no-op Authenticator that always returns an anonymous actor. Useful for testing or endpoints that do not require authentication.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticator ¶ added in v0.4.7
func NewAuthenticator() authn.Authenticator
NewAuthenticator returns a no-op Authenticator that always produces an anonymous actor. The constructor name matches the jwt sub-package convention (NewAuthenticator) so that callers can swap engines without learning per-package idioms.
Types ¶
type Authenticator ¶
type Authenticator struct{}
Authenticator is a no-op implementation that always returns an anonymous actor.
func (*Authenticator) Authenticate ¶
Authenticate always returns an anonymous actor with no error.
Click to show internal directories.
Click to hide internal directories.