Opens a new window with list of versions in this module.
Published: Sep 27, 2019
Opens a new window with license information.
Opens a new window with list of imports.
Imported by: 125
Opens a new window with list of known importers.
View Source const (
Notary = "harbor-notary"
Registry = "harbor-registry"
InitCreators initialize the token creators for different services
MakeToken makes a valid jwt token based on parms.
Creator creates a token ready to be served based on the http request.
Handler handles request on /service/token, which is the auth provider for registry.
Get handles GET request, it checks the http header for user credentials
and parse service and scope based on docker registry v2 standard,
checkes the permission against local DB and generates jwt token.
Click to show internal directories.
Click to hide internal directories.