Skip to content

Repository files navigation

Authdog SDK

Official SDKs for the Authdog authentication and user management platform.

SDK Health

PythonNode.jsGoRustJavaC#

Core SDKs

LanguageDirectoryDocs
Pythonpython/README
Node.js / TypeScriptnode/README
Gogo/README
Rustrust/README
Javajava/README
C#csharp/README

Planned SDKs

The following SDKs are under development in the planned/ directory:

C, C++, Clojure, Common Lisp, Dart, Elixir, F#, Kotlin, OCaml, PHP, PowerShell, R, Ruby, Scala, Swift, Zig

Features

  • User Information -- retrieve profile data, emails, photos, and verification status
  • Authentication -- token-based auth with structured error handling
  • Type Safety -- full type support in TypeScript, Go, Rust, Java, and C#
  • Async Support -- modern async/await APIs where applicable

API

All SDKs wrap a single endpoint:

GET /v1/userinfo
Authorization: Bearer <access-token>

See individual SDK READMEs for language-specific usage examples and response types.

Development

Prerequisites

This monorepo uses moon for task orchestration and proto for toolchain management.

curl -fsSL https://moonrepo.dev/install/proto.sh | bash
curl -fsSL https://moonrepo.dev/install/moon.sh | bash
proto use

Common Commands

moon check --all # Run all checks across all SDKs
moon run <sdk>:test # Run tests for a specific SDK
moon run <sdk>:lint # Lint a specific SDK
moon run <sdk>:build # Build a specific SDK
moon run :test # Run tests for all SDKs

Task Matrix

TaskPythonNodeGoRustJavaC#
depspip installpnpm installgo mod download--mvn dependency:resolvedotnet restore
testpytestvitestgo testcargo testmvn testdotnet test
lintflake8eslintgo vetcargo clippycheckstyledotnet format
buildpython -m buildpnpm buildgo buildcargo buildmvn compiledotnet build
fmt----gofmtcargo fmt----
security------cargo audit--security-scan
benchmark----go test -bench--JMH--

Contributing

See CONTRIBUTING.md.

License

MIT

About

Official SDKs for the Authdog authentication and user management platform

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages