Documentation ¶
Index ¶
- func CreateApiKeyClient(ctx context.Context, info *providers.ProviderInfo, opts ApiKeyOptions) common.AuthenticatedHTTPClient
- func CreateBasicAuthClient(ctx context.Context, info *providers.ProviderInfo, opts BasicAuthOptions) common.AuthenticatedHTTPClient
- func CreateOAuth2AuthorizationCodeClient(ctx context.Context, info *providers.ProviderInfo, opts OAuth2AuthCodeOptions) common.AuthenticatedHTTPClient
- func CreateOAuth2ClientCredentialsClient(ctx context.Context, info *providers.ProviderInfo, ...) common.AuthenticatedHTTPClient
- func Run(f func(ctx context.Context) error)
- type ApiKeyOptions
- type BasicAuthOptions
- type OAuth2AuthCodeOptions
- type OAuth2ClientCredentialsOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateApiKeyClient ¶
func CreateApiKeyClient(ctx context.Context, info *providers.ProviderInfo, opts ApiKeyOptions) common.AuthenticatedHTTPClient
func CreateBasicAuthClient ¶
func CreateBasicAuthClient(ctx context.Context, info *providers.ProviderInfo, opts BasicAuthOptions) common.AuthenticatedHTTPClient
func CreateOAuth2AuthorizationCodeClient ¶
func CreateOAuth2AuthorizationCodeClient(ctx context.Context, info *providers.ProviderInfo, opts OAuth2AuthCodeOptions) common.AuthenticatedHTTPClient
func CreateOAuth2ClientCredentialsClient ¶
func CreateOAuth2ClientCredentialsClient(ctx context.Context, info *providers.ProviderInfo, opts OAuth2ClientCredentialsOptions) common.AuthenticatedHTTPClient
Types ¶
type ApiKeyOptions ¶
type ApiKeyOptions struct {
ApiKey string
}
type BasicAuthOptions ¶
type OAuth2AuthCodeOptions ¶
Click to show internal directories.
Click to hide internal directories.