Skip to content

authdog/sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

221 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authdog SDK

Official SDKs for the Authdog authentication and user management platform.

SDK Health

Python Node.js Go Rust Java C#

Core SDKs

Language Directory Docs
Python python/ README
Node.js / TypeScript node/ README
Go go/ README
Rust rust/ README
Java java/ 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

Task Python Node Go Rust Java C#
deps pip install pnpm install go mod download -- mvn dependency:resolve dotnet restore
test pytest vitest go test cargo test mvn test dotnet test
lint flake8 eslint go vet cargo clippy checkstyle dotnet format
build python -m build pnpm build go build cargo build mvn compile dotnet build
fmt -- -- gofmt cargo 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

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors