Skip to content

Commit b8fd873

Browse files
add native dpop client
1 parent badb62d commit b8fd873

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/Config.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,28 @@ public class Config
276276
RefreshTokenUsage = TokenUsage.OneTimeOnly,
277277
RefreshTokenExpiration = TokenExpiration.Sliding
278278
},
279+
280+
new Client
281+
{
282+
ClientId = "native.dpop",
283+
ClientName = "Native client (Code with PKCE + DPop)",
284+
285+
RedirectUris = { "https://notused" },
286+
PostLogoutRedirectUris = { "https://notused" },
287+
288+
RequireClientSecret = false,
289+
290+
AllowedGrantTypes = GrantTypes.Code,
291+
AllowedScopes = AllScopes,
292+
293+
AllowOfflineAccess = true,
294+
RefreshTokenUsage = TokenUsage.ReUse,
295+
RefreshTokenExpiration = TokenExpiration.Sliding,
296+
297+
RequireDPoP = true,
298+
DPoPValidationMode = DPoPTokenExpirationValidationMode.Nonce
299+
},
300+
279301
new Client
280302
{
281303
ClientId = "interactive.public.short",

0 commit comments

Comments
 (0)