Versions in this module Expand all Collapse all v0 v0.7.0 Mar 12, 2022 Changes in this version + const DefaultAcceptableSkew + const DefaultTokenLifetime + func NewHTTPClient(src TokenSource) *http.Client + type Error struct + Code int + Title string + func (e *Error) Write(rw http.ResponseWriter) + type HTTPVerifier struct + Generator KeyFunc + Logger log.Logger + func (v *HTTPVerifier) AddAuthorization(handler http.Handler) http.Handler + type JWTTokenSource struct + Generator KeyFunc + IssuedAt time.Time + Lifetime time.Duration + Subject string + func (s *JWTTokenSource) Token() (*Token, error) + type KeyFunc func() ([]byte, error) + type Token struct + func (t *Token) String() string + type TokenSource interface + Token func() (*Token, error)