From 0fb8b2f7af9538bd45a9a7e41e64a6610b898fb0 Mon Sep 17 00:00:00 2001
From: Tim <contact@bytim.eu>
Date: Wed, 23 Apr 2025 15:24:25 +0200
Subject: Add link to docs for HashCodeVerifier function

---
 VPNAuth.Server/Api/OAuth2.cs | 1 +
 1 file changed, 1 insertion(+)

(limited to 'VPNAuth.Server')

diff --git a/VPNAuth.Server/Api/OAuth2.cs b/VPNAuth.Server/Api/OAuth2.cs
index 66799e7..bed5110 100644
--- a/VPNAuth.Server/Api/OAuth2.cs
+++ b/VPNAuth.Server/Api/OAuth2.cs
@@ -34,6 +34,7 @@ public static class OAuth2
                                                + "&state=" + authRequest.State;
     }
 
+    // -> https://datatracker.ietf.org/doc/html/rfc7636#section-4.2
     private static string HashCodeVerifier(string codeVerifier)
     {
         using var sha256 = SHA256.Create();
-- 
cgit v1.2.3