authserve

command module
Version: v0.0.0-...-2d60e20 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2016 License: GPL-3.0 Imports: 18 Imported by: 0

README

authserve

authserve is an experimentation in creating a generic authentication service in go.

I'm trying to build something generic and super basic that stores commonly needed attributes in a verifiable JWT so that any pages that need this basic information can just check the JWT saving a DB hit.

Features

  • Can use with postgresql, mysql, sqlite
  • Built in swagger documentation
  • JSON api
  • Enforces token validity window

Building

cd $GOPATH
go get github.com/freman/authserve

Verifying tokens in other modules

Included in this package is a token library that you can use in conjunction with a public key to verify the validity of a token

import "github.com/freman/authserve/token"
...
claims, err := token.Verify(tokenString, publicKey)

License

Copyright (c) 2016 Shannon Wynter. Licensed under GPL3. See the LICENSE.md file for a copy of the license.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL