Add Java authclient module (mirrors the Go/Node/Python authclient)
Java 8-compatible (not 11+/records as originally suggested) - verified MegaBasterd's pom.xml compiles this source directly via build-helper-maven-plugin rather than depending on a packaged jar, and is pinned to source/target 1.8, so newer APIs would have broken its real build. Uses HttpURLConnection instead of java.net.http.HttpClient, a plain final class instead of a record. No JSON dependency added (defensive regex parsing of AuthGuard's small fixed response shape) - java-backend has zero runtime dependencies today and this is the only class that would need one otherwise. Also added this package's first pom.xml, README.md, and test directory - none existed before. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ac516a7dc8
commit
5bf8ec5cee
6 files changed
+599
No files matched your search
@@ -7,3 +7,4 @@ __pycache__/
|
||||
*.py[cod]
|
||||
*.egg-info/
|
||||
.venv/
|
||||
packages/*/target/
|
||||
Reference in new issue
Block a user