Skip to content
providerkit
GitHub

bearerToken

function bearerToken(secret, principal): A2AAuthenticate;

Defined in: agents/src/a2a/auth.ts:14

A host-owned secret maps to a host-owned principal, never to a card or message claim.

Parameter Type
secret string
principal A2APrincipal

A2AAuthenticate