Documentation ¶
Index ¶
Constants ¶
View Source
const ZoneIngressSigningKeyPrefix = "zone-ingress-token-signing-key"
Variables ¶
View Source
var ZoneIngressTokenRevocationsGlobalSecretKey = core_model.ResourceKey{ Name: "zone-ingress-token-revocations", Mesh: core_model.NoMesh, }
Functions ¶
This section is empty.
Types ¶
type TokenIssuer ¶
type TokenIssuer interface {
Generate(ctx context.Context, identity Identity, validFor time.Duration) (tokens.Token, error)
}
TokenIssuer issues Zone Ingress Tokens used then for proving identity of the zone ingresses. Issued token can be bound by zone name. See pkg/sds/auth/universal/authenticator.go to check algorithm for authentication
func NewTokenIssuer ¶
func NewTokenIssuer(issuer tokens.Issuer) TokenIssuer
Click to show internal directories.
Click to hide internal directories.