go-auth

module
v0.0.0-...-fdb02f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2025 License: Apache-2.0

README

go-auth

My client authentication libraries for Golang.

Libraries

  • LDAP
  • OAuth/OIDC 2.0
  • Linux PAM
  • PKCS #11
  • RADIUS
  • TACACS+
  • TPM 2.0
  • Yubikey

Facade

The api package contains a factory pattern for working with all of the clients through a uniform constructor.

Support

Please consider supporting this project for ongoing success and sustainability. I'm a passionate open source contributor making a professional living creating free, secure, scalable, robust, enterprise grade, distributed systems and cloud native solutions.

I'm also available for international consulting opportunities. Please let me know how I can assist you or your organization in achieving your desired security posture and technology goals.

https://github.com/sponsors/jeremyhahn

https://www.linkedin.com/in/jeremyhahn

Directories

Path Synopsis
examples
api command
Package main demonstrates integrating multiple authentication backends with the go-auth API service.
Package main demonstrates integrating multiple authentication backends with the go-auth API service.
ldap command
Package main demonstrates LDAP authentication.
Package main demonstrates LDAP authentication.
oauth command
Package main demonstrates OAuth 2.0 client credentials flow.
Package main demonstrates OAuth 2.0 client credentials flow.
otp command
pam command
Package main demonstrates PAM authentication.
Package main demonstrates PAM authentication.
pkcs11 command
Package main demonstrates PKCS#11 smart card/HSM authentication.
Package main demonstrates PKCS#11 smart card/HSM authentication.
radius command
Package main demonstrates RADIUS EAP-TLS authentication.
Package main demonstrates RADIUS EAP-TLS authentication.
tacacs command
Package main demonstrates TACACS+ authentication.
Package main demonstrates TACACS+ authentication.
tpm2 command
Package main demonstrates TPM 2.0 authentication.
Package main demonstrates TPM 2.0 authentication.
yubikey command
Package main demonstrates YubiKey OTP authentication.
Package main demonstrates YubiKey OTP authentication.
pkg
api
oauth
Package oauth provides OAuth 2.0 and OpenID Connect (OIDC) authentication.
Package oauth provides OAuth 2.0 and OpenID Connect (OIDC) authentication.
otp
Package otp provides TOTP (RFC 6238) and HOTP (RFC 4226) authentication.
Package otp provides TOTP (RFC 6238) and HOTP (RFC 4226) authentication.
pam
tpm2
Package tpm2 provides authentication using TPM 2.0 devices for hardware-based platform integrity verification.
Package tpm2 provides authentication using TPM 2.0 devices for hardware-based platform integrity verification.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL