mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* Update dskit for gRPC interface change * Update vendor * Update vendor * bump dskit * update go.sum * manifest --------- Co-authored-by: javiermolinar <[email protected]>
13 lines
333 B
Go
13 lines
333 B
Go
package jwtbundle
|
|
|
|
import (
|
|
"github.com/spiffe/go-spiffe/v2/spiffeid"
|
|
)
|
|
|
|
// Source represents a source of JWT bundles keyed by trust domain.
|
|
type Source interface {
|
|
// GetJWTBundleForTrustDomain returns the JWT bundle for the given trust
|
|
// domain.
|
|
GetJWTBundleForTrustDomain(trustDomain spiffeid.TrustDomain) (*Bundle, error)
|
|
}
|