Skip to content

Commit 2bd6bef

Browse files
committed
chore: xml docs updates and update bundle.json with the placeholder value
1 parent 505722d commit 2bd6bef

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

src/AspNet.Security.OAuth.Etsy/EtsyAuthenticationDefaults.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static class EtsyAuthenticationDefaults
4949
public static readonly string UserInformationEndpoint = "https://openapi.etsy.com/v3/application/users/me";
5050

5151
/// <summary>
52-
/// Default value for receiving the user profile based upon a unique user ID<see href="https://developers.etsy.com/documentation/reference/#operation/getUser">getUser</see>.
52+
/// Default value for receiving the user profile based upon a unique user ID <see href="https://developers.etsy.com/documentation/reference/#operation/getUser">getUser</see>.
5353
/// </summary>
5454
public static readonly CompositeFormat DetailedUserInfoEndpoint = CompositeFormat.Parse("https://openapi.etsy.com/v3/application/users/{0}");
5555
}

src/AspNet.Security.OAuth.Etsy/EtsyAuthenticationOptions.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ public EtsyAuthenticationOptions()
4040
/// </summary>
4141
public bool IncludeDetailedUserInfo { get; set; }
4242

43+
/// <summary>
44+
/// Gets or sets the endpoint used to retrieve detailed user information.
45+
/// </summary>
46+
/// <remarks>
47+
/// The placeholder for <c>client_id</c> needs to be <c>"{0}"</c> and will be replaced with the authenticated user's ID.
48+
/// </remarks>
49+
public string? DetailedUserInfoEndpoint { get; set; }
50+
4351
/// <inheritdoc />
4452
public override void Validate()
4553
{

test/AspNet.Security.OAuth.Providers.Tests/Etsy/bundle.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
{
2626
"comment": "Etsy /v3/application/users/{user_id} endpoint - returns detailed user information",
27-
"uri": "https://openapi.etsy.com/v3/application/users/123456",
27+
"uri": "https://openapi.etsy.com/v3/application/users/{0}",
2828
"contentFormat": "json",
2929
"contentJson": {
3030
"user_id": 123456,

0 commit comments

Comments
 (0)