Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Checker ¶
Checker is an interface that reports whether the passed request should be allowed to continue.
type PSK ¶
type PSK struct {
// contains filtered or unexported fields
}
PSK implements the AuthCheck interface.
When Check is called the JWT on the incoming http request will be validated against a pre-shared-key.
type QuayKeyserver ¶
type QuayKeyserver struct {
// contains filtered or unexported fields
}
QuayKeyserver implements the AuthCheck interface.
When Check is called the JWT on the incoming http request will be validated against the Quay Keyserver
It follows the algorithm outlined here: https://github.com/quay/jwtproxy/tree/master/jwt/keyserver/keyregistry#verifier
func NewQuayKeyserver ¶
func NewQuayKeyserver(api string) (*QuayKeyserver, error)
NewQuayKeyserver returns an instance of a QuayKeyserver
Click to show internal directories.
Click to hide internal directories.