Documentation
¶
Overview ¶
Package server serves the actor JWT issuer's OpenID discovery document and JWK set.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeySource ¶
type KeySource interface {
VerificationKeys() ([]*localjwtauthority.VerificationKey, error)
}
KeySource supplies the verification keys to publish. *localjwtauthority.RefreshingPool is one.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server serves the discovery document at /.well-known/openid-configuration and the JWK set at /openid/v1/jwks, plus /healthz. It builds both documents from its KeySource on every request and answers 500 when that fails.