auth

package
v0.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// the env for customize jwt token path
	KitexXdsTokenPath = "KITEX_XDS_SA_TOKEN_PATH"
)

Variables

View Source
var ClientHTTP2JwtHandler = &clientHTTP2JwtHandler{}

ClientHTTP2JwtHandler is used to set jwt token to http2 header

Functions

func GetTLSConfig

func GetTLSConfig(xdsServerName string) (*tls.Config, error)

GetTLSConfig returns a tls.Config for xDS Client.

func IsAuthError

func IsAuthError(err error) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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