Versions in this module Expand all Collapse all v1 v1.0.0 Jan 1, 2021 Changes in this version + const TokenRefreshWindow + func CompareHashAndToken(hashedToken, token string) error + func GetDevHandlers(s *http.ServeMux) + func NewBackoffHandler(handler RequestHandler) *backoffHandler + type Accessor interface + Credentials func() (gc.PerRPCCredentials, error) + GetStsCredentials func() (*ac.Credentials, error) + IdentityProvider func() identity.Provider + UserID func() string + func GetAccessor(identityProvider identity.Provider, handler RequestHandler) Accessor + type Option func(o *options) + func WithServer() Option + func WithSocketNameSuffix(socketNameSuffix string) Option + type RequestHandler interface + type Server struct + var TokenServer *Server + func (s *Server) ErrorListener() util.ErrorListener + func (s *Server) Init(identityProvider identity.Provider) error + func (s *Server) Run(ctx context.Context, optionValues ...Option)