Skip to content

knadh/tinyauth

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Tiny, opinionated authentication library for Go. Work in progress and not usable right now.

Concepts

  • An to add/edit/delete users.
  • Users are identified by an identifier (a string: email, username, phone, anything).
  • Supports hashed password and password authentication.
  • Password authentication can be turned off to enable external OAuth.
  • Permissions are represented as a list of strings per user. Eg: post.edit, post.create etc.
  • User account statuses: pending, enabled, disabled etc.
  • Pluggable functions for password reset, recovery etc.
  • Multiple "store" backends (Postgres, Redis etc.) via a Store interface.

About

Tiny, opinionated authentication library for Go. Work in progress and not usable right now.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published