Skip to content

Commit c0f61b4

Browse files
authored
Merge pull request #71 from Flex-Xuan/patch-1
Update OAuth2AuthenticationEndpointsDefinition to correct the member name of property Token
2 parents 1b3d2e4 + 3b66c54 commit c0f61b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
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)