Discover Packages
github.com/giantswarm/beekeeper
internal
identity
identitytest
package
Version:
v0.167.0
Opens a new window with list of versions in this module.
Published: Oct 23, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package identitytest is a Dex stand-in for tests: an OIDC issuer that
serves its discovery document and keys and signs ID tokens.
Verified is a true email_verified.
type Claims struct {
Issuer string `json:"iss,omitempty"`
Subject string `json:"sub,omitempty"`
Audience []string `json:"aud,omitempty"`
Expiry int64 `json:"exp,omitempty"`
IssuedAt int64 `json:"iat,omitempty"`
Email string `json:"email,omitempty"`
EmailVerified *bool `json:"email_verified,omitempty"`
Groups []string `json:"groups,omitempty"`
}
Claims are an ID token's: the standard ones are filled in by Token where
they are unset.
type Issuer struct {
URL string
}
Issuer is a running test issuer.
New starts an issuer for the test's lifetime.
Token signs c, with the issuer, a subject, an hour of validity and the
audience aud filled in where unset.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.