diff options
author | Tim <contact@bytim.eu> | 2025-04-23 15:24:25 +0200 |
---|---|---|
committer | Tim <contact@bytim.eu> | 2025-04-23 15:24:25 +0200 |
commit | 0fb8b2f7af9538bd45a9a7e41e64a6610b898fb0 (patch) | |
tree | 9bbcbbeb972fd1f3aebe5ee2e52949d8bf6a863e | |
parent | 97e7960f494bd56daaa52b39a72d57c76331d485 (diff) | |
download | VPNAuth-0fb8b2f7af9538bd45a9a7e41e64a6610b898fb0.tar.xz VPNAuth-0fb8b2f7af9538bd45a9a7e41e64a6610b898fb0.zip |
Add link to docs for HashCodeVerifier function
-rw-r--r-- | VPNAuth.Server/Api/OAuth2.cs | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |