Skip to content

A koa middleware for intercepting unauthorized requests

License

Notifications You must be signed in to change notification settings

nodecloud/koa-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

koa-auth

koa-auth

Build Status Coverage Status

Get Started

Install the package:

npm install --save koa-auth-middleware

Usage:

import koaAuth from 'koa-auth-middleware';

// get the koa app
// use the default logic
app.use(koaAuth())

About

A koa middleware for intercepting unauthorized requests

Resources

License

Stars

Watchers

Forks

Packages

No packages published