// Copyright (c) Microsoft. All rights reserved. using System.Security.Claims; namespace Microsoft.Agents.AI.Hosting; /// /// Options for configuring . /// public class UserIdentityScopedSessionStoreOptions { /// /// Gets or sets the claim type to extract from the user's identity for scoping. /// /// /// Defaults to . /// public string ClaimType { get; set; } = ClaimsIdentity.DefaultNameClaimType; /// /// Gets or sets a value indicating whether an exception should be thrown when the specified claim is not found. /// /// /// If , an exception is thrown when the specified claim is not found. /// If , the conversation ID is passed through unmodified when the claim is absent. /// Defaults to . /// public bool Strict { get; set; } = true; }