From 3b66c543c688ef49eb3d8ac5a8e00a5cac53f999 Mon Sep 17 00:00:00 2001 From: Flex Xuan Date: Mon, 9 Dec 2024 20:56:54 +0800 Subject: [PATCH] Update OAuth2AuthenticationEndpointsDefinition.cs fix the member name when serialize/deseialize the definition Signed-off-by: Flex-Xuan --- .../Authentication/OAuth2AuthenticationEndpointsDefinition.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ServerlessWorkflow.Sdk/Models/Authentication/OAuth2AuthenticationEndpointsDefinition.cs b/src/ServerlessWorkflow.Sdk/Models/Authentication/OAuth2AuthenticationEndpointsDefinition.cs index 8f61f3b..a96f835 100644 --- a/src/ServerlessWorkflow.Sdk/Models/Authentication/OAuth2AuthenticationEndpointsDefinition.cs +++ b/src/ServerlessWorkflow.Sdk/Models/Authentication/OAuth2AuthenticationEndpointsDefinition.cs @@ -24,7 +24,7 @@ public record OAuth2AuthenticationEndpointsDefinition /// Gets/sets the relative path to the token endpoint. Defaults to `/oauth2/token` /// [Required] - [DataMember(Name = "authority", Order = 1), JsonPropertyName("authority"), JsonPropertyOrder(1), YamlMember(Alias = "authority", Order = 1)] + [DataMember(Name = "token", Order = 1), JsonPropertyName("token"), JsonPropertyOrder(1), YamlMember(Alias = "token", Order = 1)] public virtual Uri Token { get; set; } = new("/oauth2/token", UriKind.RelativeOrAbsolute); /// @@ -41,4 +41,4 @@ public record OAuth2AuthenticationEndpointsDefinition [DataMember(Name = "introspection", Order = 3), JsonPropertyName("introspection"), JsonPropertyOrder(3), YamlMember(Alias = "introspection", Order = 3)] public virtual Uri Introspection { get; set; } = new("/oauth2/introspect", UriKind.RelativeOrAbsolute); -} \ No newline at end of file +} pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy