https://github.com/gobuffalo/mw-tokenauth
Buffalo token-based-authentication middleware
https://github.com/gobuffalo/mw-tokenauth
go gobuffalo golang middleware token-based-authentication
Last synced: about 1 year ago
JSON representation
Buffalo token-based-authentication middleware
- Host: GitHub
- URL: https://github.com/gobuffalo/mw-tokenauth
- Owner: gobuffalo
- License: mit
- Created: 2018-07-30T12:09:58.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T16:41:17.000Z (over 3 years ago)
- Last Synced: 2025-04-07T08:18:00.186Z (about 1 year ago)
- Topics: go, gobuffalo, golang, middleware, token-based-authentication
- Language: Go
- Homepage:
- Size: 135 KB
- Stars: 13
- Watchers: 8
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# mw-tokenauth
[](https://github.com/gobuffalo/mw-tokenauth/actions/workflows/standard-go-test.yml)
[](https://pkg.go.dev/github.com/gobuffalo/mw-tokenauth)
[](https://goreportcard.com/report/github.com/gobuffalo/mw-tokenauth)
JWT Token Authentication Middleware for
[Buffalo](https://github.com/gobuffalo/buffalo).
## Installation
```console
$ go get github.com/gobuffalo/mw-tokenauth
```
## Usage
For details on how to use this middleware, see the [Go Reference](https://pkg.go.dev/github.com/gobuffalo/mw-tokenauth)
You can also gain insight into how to use it by looking at the [tests](https://github.com/gobuffalo/mw-tokenauth/blob/master/tokenauth_test.go)