AgentIdentity interface

Represents the identity of an agent and its acting user.

In agentic user scenarios, agenticUserId identifies the specific user in the current interaction so the token resolver can generate a user-scoped token. In S2S scenarios, agenticUserId will be undefined.

Properties

agenticUserId

The agentic user identifier (AAD Object ID), or undefined in S2S scenarios. Present when token generation depends on the specific user in the current interaction.

agentId

The agent identifier.

Property Details

agenticUserId

The agentic user identifier (AAD Object ID), or undefined in S2S scenarios. Present when token generation depends on the specific user in the current interaction.

agenticUserId?: string

Property Value

string

agentId

The agent identifier.

agentId: string

Property Value

string