auth

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewADCBackedRPCCredentials

func NewADCBackedRPCCredentials() (credentials.PerRPCCredentials, error)

func ValidADCTokenWithOrg

func ValidADCTokenWithOrg(idTokenOrg string) func(
	ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (any, error)

ValidADCTokenWithOrg ensures a valid token exists within a request's metadata. The token must be scoped to a specific organization. If the token is missing or invalid, the interceptor blocks execution of the handler and returns an error. Otherwise, the interceptor invokes the unary handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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