runtimetoken

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package runtimetoken resolves API bearer tokens for features that bypass the MCP runner (e.g. A2A gateway) but should behave like tool calls.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveAccessToken

func ResolveAccessToken(ctx context.Context, configDir, explicitToken string) (string, error)

ResolveAccessToken returns a non-empty bearer token using the same sources and caching rules as MCP when configDir matches the active edition directory; see app.ResolveAuxiliaryAccessToken.

Types

This section is empty.

Jump to

Keyboard shortcuts

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