Versions in this module Expand all Collapse all v0 v0.89.0 Sep 8, 2026 Changes in this version + func Run(args []string, factory managerservice.ManagerFactory) error + type Authenticator interface + Authenticate func(context.Context, string) (*scyjwt.Claims, error) + type JWTAuthenticator struct + func NewJWTAuthenticator(ctx context.Context, publicKeyResource, issuer, audience, scope string) (*JWTAuthenticator, error) + func NewJWTAuthenticatorWithResource(ctx context.Context, resource *scy.Resource, issuer, audience, scope string) (*JWTAuthenticator, error) + func (a *JWTAuthenticator) Authenticate(ctx context.Context, token string) (*scyjwt.Claims, error) + type Server struct + func New(service *managerservice.Service) *Server + func NewAuthenticated(service *managerservice.Service, authenticator Authenticator) *Server + func (s *Server) ServeHTTP(writer http.ResponseWriter, request *http.Request)