# Functions

AllowHardBoundTokens returns a ClientOption that allows libraries to request a hard-bound token.
AllowNonDefaultServiceAccount returns a ClientOption that overrides the default requirement for using the default service account for DirectPath.
AuthCreds returns [cloud.google.com/go/auth.Credentials] using the following options provided via [option.ClientOption], including legacy oauth2/google options, in this order: * [option.WithAuthCredentials] * [option/internaloption.WithCredentials] (internal use only) * [option.WithCredentials] * [option.WithTokenSource] If there are no applicable credentials options, then it passes the following options to [cloud.google.com/go/auth/credentials.DetectDefault] and returns the result: * [option.WithAudiences] * [option.WithCredentialsFile] * [option.WithCredentialsJSON] * [option.WithScopes] * [option/internaloption.WithDefaultScopes] (internal use only) * [option/internaloption.EnableJwtWithScope] (internal use only) This function should only be used internally by generated clients.
EnableAsyncRefreshDryRun returns a ClientOption that specifies if libraries in this module should asynchronously refresh auth token in parallel to sync refresh.
EnableDirectPath returns a ClientOption that overrides the default attempt to use DirectPath.
EnableDirectPathXds returns a ClientOption that overrides the default DirectPath type.
EnableJwtWithScope returns a ClientOption that specifies if scope can be used with self-signed JWT.
EnableNewAuthLibrary returns a ClientOption that specifies if libraries in this module to delegate auth to our new library.
GetLogger is a helper for client libraries to extract the [slog.Logger] from the provided options or return a default logger if one is not found.
SkipDialSettingsValidation bypasses validation on ClientOptions.
WithCredentials returns a client option to specify credentials which will be used to authenticate API calls.
WithDefaultAudience returns a ClientOption that specifies a default audience to be used as the audience field ("aud") for the JWT token authentication.
WithDefaultEndpoint is an option that indicates the default endpoint.
WithDefaultEndpointTemplate provides a template for creating the endpoint using a universe domain.
WithDefaultMTLSEndpoint is an option that indicates the default mTLS endpoint.
WithDefaultScopes returns a ClientOption that overrides the default OAuth2 scopes to be used for a service.
WithDefaultUniverseDomain returns a ClientOption that sets the default universe domain.

# Structs

EmbeddableAdapter is a no-op option.ClientOption that allow libraries to create their own client options by embedding this type into their own client-specific option wrapper.