Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBaseUrl ¶
func GetBaseUrl(baseUrlFunc ClientBaseUrlFunc) (string, error)
GetBaseUrl retrieves the base URL using the provided ClientBaseUrlFunc.
func NewSecretStoreTokenClient ¶
func NewSecretStoreTokenClient(baseUrl string, authInjector interfaces.AuthenticationInjector) interfaces.SecretStoreTokenClient
NewSecretStoreTokenClient creates an instance of SecretStoreTokenClient
Types ¶
type ClientBaseUrlFunc ¶
func GetDefaultClientBaseUrlFunc ¶
func GetDefaultClientBaseUrlFunc(baseUrl string) ClientBaseUrlFunc
GetDefaultClientBaseUrlFunc returns a ClientBaseUrlFunc that always returns the provided baseUrl.
type SecretStoreTokenClient ¶
type SecretStoreTokenClient struct {
// contains filtered or unexported fields
}
func (*SecretStoreTokenClient) RegenToken ¶
func (ac *SecretStoreTokenClient) RegenToken(ctx context.Context, entityId string) (models.BaseResponse, error)
RegenToken regenerates the secret store client token based on the specified entity id
Click to show internal directories.
Click to hide internal directories.