TokenResolver: (
agentId: string,
tenantId: string,
authScopes?: string[],
) => string | null | Promise<string | null>
Type Declaration
- (
agentId: string,
tenantId: string,
authScopes?: string[],
): string | null | Promise<string | null> Parameters
- agentId: string
- tenantId: string
OptionalauthScopes: string[]
Returns string | null | Promise<string | null>
A function that resolves an authentication token for the given agent and tenant. Return null if a token cannot be provided.