An open API service indexing awesome lists of open source software.

https://github.com/clevergo/auth

:lock: Go HTTP Authentication Middleware
https://github.com/clevergo/auth

authentication authenticator basic-auth bearer-token middleware query-token

Last synced: 9 days ago
JSON representation

:lock: Go HTTP Authentication Middleware

Awesome Lists containing this project

README

          

# Authentication
[![Build Status](https://img.shields.io/travis/clevergo/auth?style=flat-square)](https://travis-ci.org/clevergo/auth)
[![Coverage Status](https://img.shields.io/coveralls/github/clevergo/auth?style=flat-square)](https://coveralls.io/github/clevergo/auth?branch=master)
[![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go&logoColor=white&style=flat-square)](https://pkg.go.dev/clevergo.tech/auth?tab=doc)
[![Go Report Card](https://goreportcard.com/badge/clevergo.tech/auth?style=flat-square)](https://goreportcard.com/report/clevergo.tech/auth)
[![Release](https://img.shields.io/github/release/clevergo/auth.svg?style=flat-square)](https://github.com/clevergo/auth/releases)
[![Downloads](https://img.shields.io/endpoint?url=https://pkg.clevergo.tech/api/badges/downloads/total/clevergo.tech/auth&style=flat-square)](https://pkg.clevergo.tech/)
[![Chat](https://img.shields.io/badge/chat-telegram-blue?style=flat-square)](https://t.me/clevergotech)
[![Community](https://img.shields.io/badge/community-forum-blue?style=flat-square&color=orange)](https://forum.clevergo.tech)

This package provides multiple authenticators and middleware for authenticating a user.

## Usage

Checkout [example](https://github.com/clevergo/examples/tree/master/auth) for details.

## Credit

Inspired by [Yii Auth](https://github.com/yiisoft/auth).