package
1.9.0
Repository: https://github.com/auth0/go-auth0.git
Documentation: pkg.go.dev

# Functions

Auth0ClientInfoTransport wraps base transport with a customized "Auth0-Client" header.
DebugTransport wraps base transport with the ability to log the contents of requests and responses.
OAuth2ClientCredentials sets the oauth2 client credentials.
OAuth2ClientCredentialsAndAudience sets the oauth2 client credentials with a custom audience.
RetriesTransport wraps base transport with retry functionality.
StaticToken sets a static token to be used for oauth2.
UserAgentTransport wraps base transport with a customized "User-Agent" header.
WithAuth0ClientInfo configures the client to overwrite the "Auth0-Client" header.
WithDebug configures the client to enable debug.
WithRetries configures the retry transports on the http client used.
WithUserAgent configures the client to overwrite the user agent header.
Wrap the base client with just the internal transports.
WrapWithTokenSource wraps the base client with transports that enable OAuth2 authentication.

# Variables

DefaultAuth0ClientInfo is the default client information sent by the go-auth0 SDK.
DefaultRetryOptions is the default retry configuration used by the SDK.
UserAgent is the default user agent string.

# Structs

Auth0ClientInfo is the structure used to send client information in the "Auth0-Client" header.
RetryOptions defines the retry rules that should be followed by the SDK when making requests.

# Type aliases

Option is the type used to configure a client.
RoundTripFunc is an adapter to allow the use of ordinary functions as HTTP round trips.