package
4.67.0
Repository: https://github.com/cloudquery/plugin-sdk.git
Documentation: pkg.go.dev

# Functions

NewAuthTransport creates a new TokenAuthTransport with the provided TokenSource.
No description provided by the author
TokenAuthEditor returns a custom RequestEditorFn to inject the OAuth2 token.
WithAccessToken sets the access token, token type and expiry time for the token source.
WithDefaultContext sets the default context for the token source, used when creating a new token request.
WithToken sets the default token for the token source.

# Structs

TokenAuthTransport is a custom http.RoundTripper to inject the OAuth2 token.

# Type aliases

RewriterFunc is a function that can be used to rewrite the request before it is sent.
No description provided by the author