credentials

package
v0.0.0-...-1334a7b Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VanusPerRPCCredentials

type VanusPerRPCCredentials struct {
	oauth2.TokenSource
}

func NewVanusPerRPCCredentials

func NewVanusPerRPCCredentials(token string) VanusPerRPCCredentials

func (VanusPerRPCCredentials) GetRequestMetadata

func (vc VanusPerRPCCredentials) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error)

func (VanusPerRPCCredentials) RequireTransportSecurity

func (vc VanusPerRPCCredentials) RequireTransportSecurity() bool

Jump to

Keyboard shortcuts

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