Versions in this module Expand all Collapse all v1 v1.1.2 Sep 16, 2021 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)