interfaces

package
v2.0.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 3 Imported by: 1 module, 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.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthClient

type AuthClient interface {
	// VerificationKeyByIssuer returns the JWT verification key by the specified issuer
	VerificationKeyByIssuer(ctx context.Context, issuer string) (res models.KeyDataResponse, err error)
}

AuthClient defines the interface for interactions with the auth API endpoint on the security-proxy-auth service.

type AuthenticationInjector

type AuthenticationInjector interface {
	// AddAuthenticationData mutates an HTTP request to add authentication data
	// (suth as an Authorization: header) to an outbound HTTP request
	AddAuthenticationData(_ *http.Request) error
}

AuthenticationInjector defines an interface to obtain a JWT and secure transport for remote service calls

type SecretStoreTokenClient

type SecretStoreTokenClient interface {
	// RegenToken regenerates the secret store client token based on the specified entity id
	RegenToken(ctx context.Context, entityId string) (models.BaseResponse, error)
}

SecretStoreTokenClient defines the interface for interactions with the API endpoint on the security-secretstore-setup service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL