namespace ModelContextProtocol.Authentication;
///
/// Context provided to the for a Cross-Application Access
/// authorization flow. Contains the URLs discovered during the OAuth flow needed for the token exchange step.
///
public sealed class IdentityAssertionGrantContext
{
///
/// Gets the MCP resource server URL (i.e., the resource parameter for token exchange).
/// This is the URL of the MCP server being accessed.
///
public required Uri ResourceUrl { get; init; }
///
/// Gets the MCP authorization server URL (i.e., the audience parameter for token exchange).
/// This is the URL of the authorization server protecting the MCP resource.
///
public required Uri AuthorizationServerUrl { get; init; }
}