auth

package
v1.9.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGoogleClient

func InitGoogleClient(ctx context.Context) (*http.Client, error)

InitGoogleClient is a helper method to be used by CaraML components to initialise a Google Client that appends ID tokens to the headers of all outgoing requests, regardless of the type of credentials used

func InitGoogleClientFromCredentialsFile

func InitGoogleClientFromCredentialsFile(ctx context.Context, filepath string) (*http.Client, error)

InitGoogleClientFromCredentialsFile is a helper method to be used by CaraML components to initialise a Google Client that appends ID tokens to the headers of all outgoing requests, regardless of the type of credentials that are located at the location of the given filepath

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL