AgenticHeaderProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides agent identity headers derived from the incoming Activity for agentic requests. Headers are only emitted when the Activity represents an agentic request (i.e., Recipient.Role is AgenticUser or AgenticIdentity).
public class AgenticHeaderProvider : Microsoft.Agents.Core.HeaderPropagation.IHeaderValueProvider
type AgenticHeaderProvider = class
interface IHeaderValueProvider
Public Class AgenticHeaderProvider
Implements IHeaderValueProvider
- Inheritance
-
AgenticHeaderProvider
- Implements
Constructors
| Name | Description |
|---|---|
| AgenticHeaderProvider(IActivity, String) |
Initializes a new instance of AgenticHeaderProvider. |
Methods
| Name | Description |
|---|---|
| GetHeaders() |
Returns headers to inject on outgoing requests. Called each time AddHeaderPropagation(HttpClient) executes. |