feat: Add Enterprise Managed Authorization (SEP-990) support (#1305)

This commit is contained in:
Aniket Anil Kumar 2026-06-03 20:08:08 +05:30 • committed by GitHub
commit 8202bcc932
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -187,6 +187,12 @@ public static partial class McpJsonUtilities
[JsonSerializable(typeof(DynamicClientRegistrationRequest))]
[JsonSerializable(typeof(DynamicClientRegistrationResponse))]
// For Enterprise Managed Authorization flow as specified at
// https://github.com/modelcontextprotocol/ext-auth/blob/main/specification/draft/enterprise-managed-authorization.mdx
[JsonSerializable(typeof(JagTokenExchangeResponse))]
[JsonSerializable(typeof(JwtBearerAccessTokenResponse))]
[JsonSerializable(typeof(OAuthErrorResponse))]
// Primitive types for use in consuming AIFunctions
[JsonSerializable(typeof(string))]
[JsonSerializable(typeof(byte))]