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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
secret |
string |
principal |
A2APrincipal |