Class IdentityAssertionGrantContext
- Namespace
- ModelContextProtocol.Authentication
- Assembly
- ModelContextProtocol.Core.dll
Context provided to the IdentityAssertionGrantIdTokenCallback 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
- Inheritance
-
IdentityAssertionGrantContext
- Inherited Members
Properties
AuthorizationServerUrl
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; }
Property Value
ResourceUrl
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; }