auth

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCredentialToken

func NewCredentialToken() credentials.PerRPCCredentials

func TokenValid

func TokenValid(ctx context.Context) error

Types

type TokenSource

type TokenSource struct {
}

func (TokenSource) GetRequestMetadata

func (s TokenSource) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error)

func (TokenSource) RequireTransportSecurity

func (s TokenSource) RequireTransportSecurity() bool

Jump to

Keyboard shortcuts

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