Skip to content

Commit 3b66c54

Browse files
committed
Update OAuth2AuthenticationEndpointsDefinition.cs
fix the member name when serialize/deseialize the definition Signed-off-by: Flex-Xuan <flex.xuan@outlook.com>
1 parent 1b3d2e4 commit 3b66c54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ServerlessWorkflow.Sdk/Models/Authentication/OAuth2AuthenticationEndpointsDefinition.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public record OAuth2AuthenticationEndpointsDefinition
2424
/// Gets/sets the relative path to the token endpoint. Defaults to `/oauth2/token`
2525
/// </summary>
2626
[Required]
27-
[DataMember(Name = "authority", Order = 1), JsonPropertyName("authority"), JsonPropertyOrder(1), YamlMember(Alias = "authority", Order = 1)]
27+
[DataMember(Name = "token", Order = 1), JsonPropertyName("token"), JsonPropertyOrder(1), YamlMember(Alias = "token", Order = 1)]
2828
public virtual Uri Token { get; set; } = new("/oauth2/token", UriKind.RelativeOrAbsolute);
2929

3030
/// <summary>
@@ -41,4 +41,4 @@ public record OAuth2AuthenticationEndpointsDefinition
4141
[DataMember(Name = "introspection", Order = 3), JsonPropertyName("introspection"), JsonPropertyOrder(3), YamlMember(Alias = "introspection", Order = 3)]
4242
public virtual Uri Introspection { get; set; } = new("/oauth2/introspect", UriKind.RelativeOrAbsolute);
4343

44-
}
44+
}

0 commit comments

Comments
 (0)
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