Authorization Support (Using ASP.NET Core Native AuthN/AuthZ Integration) (#377)
This commit is contained in:
parent
cd8e5d5f7f
commit
cdf88e7f5d
1 changed files with 4207 additions and 126 deletions
|
|
@ -0,0 +1,15 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace ModelContextProtocol.TestOAuthServer;
|
||||
|
||||
[JsonSerializable(typeof(OAuthServerMetadata))]
|
||||
[JsonSerializable(typeof(AuthorizationServerMetadata))]
|
||||
[JsonSerializable(typeof(TokenResponse))]
|
||||
[JsonSerializable(typeof(JsonWebKeySet))]
|
||||
[JsonSerializable(typeof(JsonWebKey))]
|
||||
[JsonSerializable(typeof(TokenIntrospectionResponse))]
|
||||
[JsonSerializable(typeof(OAuthErrorResponse))]
|
||||
[JsonSerializable(typeof(ClientRegistrationRequest))]
|
||||
[JsonSerializable(typeof(ClientRegistrationResponse))]
|
||||
[JsonSerializable(typeof(Dictionary<string, string>))]
|
||||
internal sealed partial class OAuthJsonContext : JsonSerializerContext;
|
||||
Loading…
Reference in a new issue