Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidToken = errors.New("invalid token") ErrMissingAuthorization = errors.New("authorization header missing or malformed") ErrMissingCacheScopes = errors.New("token does not contain cache scopes") ErrInvalidCacheScopes = errors.New("invalid JSON in cache scopes") ErrNoCacheScopes = errors.New("token does not contain any cache scopes") ErrMissingRepositoryID = errors.New("token does not contain repository id") ErrVerifierInitialization = errors.New("token verifier initialization failed") )
Functions ¶
This section is empty.
Types ¶
type CacheScope ¶
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
func NewVerifier ¶
func (*Verifier) CacheScope ¶
Click to show internal directories.
Click to hide internal directories.