MentorTenantRequest record
What an IMentorTenantResolver is asked about: one request, from one surface. More properties may be added.
On this page
Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Abstractions.Models. Package: Novior.MentorAgent.Abstractions.
public sealed record MentorTenantRequest : IEquatable<MentorTenantRequest>
dotnet add package Novior.MentorAgent.AbstractionsConstructors
Section titled “Constructors”public MentorTenantRequest()
Properties
Section titled “Properties”Services
Section titled “Services”public required IServiceProvider Services { get; init; }
The services of the request's scope — the circuit, the hub connection, the request, the A2A task; on the MCP server, the request's — for a scoped service of the application, an IHttpContextAccessor say. Never the application's root services.
Surface
Section titled “Surface”public required MentorActionSurface Surface { get; init; }
Where the request comes from.
public ClaimsPrincipal? User { get; init; }
The signed-in user, or null when nobody is. On the MCP server, the caller McpCallerPrincipal resolves, else the request's user.
