jwtcreds

package
v1.83.2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package jwtcreds implements JWT CallCredentials for XDS, configured via xDS Bootstrap File. For more details, see gRFC A97: https://github.com/grpc/proposal/blob/master/A97-xds-jwt-call-creds.md

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCallCredentials

func NewCallCredentials(configJSON json.RawMessage) (c credentials.PerRPCCredentials, cancel func(), err error)

NewCallCredentials returns a new JWT token based call credentials. The input config must match the structure specified in gRFC A97.

The caller is expected to invoke the cancel function when they are done using the returned call creds. This cancel function is idempotent.

Types

This section is empty.

Jump to

Keyboard shortcuts

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