Documentation
¶
Overview ¶
Package testtokenexchange serves a JSON Web Key Set and mints token-exchange JWTs signed with it.
Index ¶
Constants ¶
View Source
const (
// KeysPath is where GitLab serves the key set it signs token-exchange JWTs with.
KeysPath = "/-/cloud_connector/keys"
)
Variables ¶
View Source
var OrganizationID = uuid.MustParse("0191f1e2-3a4b-7c8d-9e0f-112233445566")
OrganizationID is the organization the minted tokens are issued for, their gitlab.origin_id claim.
Functions ¶
This section is empty.
Types ¶
type Issuer ¶
type Issuer struct {
URL string
// contains filtered or unexported fields
}
Issuer is a fake GitLab instance: URL is its address and the iss claim of the tokens it mints.
Click to show internal directories.
Click to hide internal directories.