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.
Click to show internal directories.
Click to hide internal directories.