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.
Click to show internal directories.
Click to hide internal directories.