auth

package
v0.0.0-...-7604275 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ClientToken

type ClientToken struct {
	Value string
}

func NewClientToken

func NewClientToken(token string) *ClientToken

func (*ClientToken) GetRequestMetadata

func (t *ClientToken) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error)

func (*ClientToken) RequireTransportSecurity

func (t *ClientToken) RequireTransportSecurity() bool

Jump to

Keyboard shortcuts

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