Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PresharedKeyAuthenticator ¶
type PresharedKeyAuthenticator struct {
}func NewPresharedKeyAuthenticator ¶
func NewPresharedKeyAuthenticator(validKeys []string) (*PresharedKeyAuthenticator, error)
func (*PresharedKeyAuthenticator) Authenticate ¶
func (pka *PresharedKeyAuthenticator) Authenticate(ctx context.Context) (*authn.AuthClaims, error)
func (*PresharedKeyAuthenticator) Close ¶
func (pka *PresharedKeyAuthenticator) Close()
Click to show internal directories.
Click to hide internal directories.