feat: Add Enterprise Managed Authorization (SEP-990) support (#1305)
This commit is contained in:
parent
bc372f18c6
commit
8202bcc932
1 changed files with 1695 additions and 2 deletions
|
|
@ -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))]
|
||||
|
|
|
|||
Loading…
Reference in a new issue