security

package
v1.186.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthenticatedHTTPClient added in v1.92.0

func NewAuthenticatedHTTPClient() *http.Client

func NewTokenSource added in v1.92.0

func NewTokenSource(ctx context.Context, audience string) (oauth2.TokenSource, error)

func ReadRequestAuthorization added in v1.86.0

func ReadRequestAuthorization(r *http.Request) string

func ReadServiceAuthorization

func ReadServiceAuthorization(ctx context.Context) string

func WithDefaultAuthentication

func WithDefaultAuthentication() grpc.DialOption

Types

This section is empty.

Jump to

Keyboard shortcuts

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