Versions in this module Expand all Collapse all v1 v1.0.0 May 26, 2022 Changes in this version + var ErrInvalidToken = errors.New("invalid token") + var ErrNoToken = errors.New("no token") + func Localhost(ctx context.Context) bool + func Token(ctx context.Context) string + type API struct + func NewAPI(tokens *accesstoken.CredentialStore, disable bool) *API + func (a *API) Authenticate(req *http.Request) (*http.Request, error)