Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateSource ¶ added in v0.0.4
type CertificateSource interface {
// IssueCertificate receives the minimum duration it should be active for. If
// force is true, skip any token caches available.
//
// Returns a public and private key certificate which can be used to authenticate as a tenant.
IssueCertificate(ctx context.Context, minDuration time.Duration, force bool) (tls.Certificate, error)
}
type TokenAndCertificateSource ¶ added in v0.0.4
type TokenAndCertificateSource interface {
TokenSource
CertificateSource
}
type TokenSource ¶
Click to show internal directories.
Click to hide internal directories.