authkit initial
This commit is contained in:
parent
5173b0a43d
commit
134393fbca
43 changed files with 5188 additions and 1 deletions
13
doc.go
Normal file
13
doc.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// Package authkit is an authentication and authorization toolkit for Go web
|
||||
// services. It defines storage interfaces (UserStore, SessionStore, TokenStore,
|
||||
// APIKeyStore, RoleStore, PermissionStore) and a high-level Auth service that
|
||||
// composes them to support registration, password login, opaque server-side
|
||||
// sessions, JWT access plus rotating refresh tokens, email verification,
|
||||
// password resets, magic-link passwordless login, role-based access control,
|
||||
// and API keys with custom abilities.
|
||||
//
|
||||
// Default Postgres implementations of every store live in the pgstore
|
||||
// subpackage. Argon2id password hashing lives in hasher. Framework-neutral
|
||||
// HTTP middleware (compatible with lightmux and any net/http stack) lives in
|
||||
// middleware.
|
||||
package authkit
|
||||
Loading…
Add table
Add a link
Reference in a new issue