https://github.com/buffolander/brdu-authorizer
This is a lightweight middleware for Express that handles authentication and authorization requests based on Firebase user tokens as well as fixed tokens created for server-to-server requests
https://github.com/buffolander/brdu-authorizer
express express-authorizations express-middleware typescript
Last synced: 9 months ago
JSON representation
This is a lightweight middleware for Express that handles authentication and authorization requests based on Firebase user tokens as well as fixed tokens created for server-to-server requests
- Host: GitHub
- URL: https://github.com/buffolander/brdu-authorizer
- Owner: buffolander
- License: gpl-3.0
- Created: 2020-02-03T11:20:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T12:11:35.000Z (over 3 years ago)
- Last Synced: 2024-12-12T09:07:07.736Z (over 1 year ago)
- Topics: express, express-authorizations, express-middleware, typescript
- Language: TypeScript
- Homepage:
- Size: 650 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# -brdu-authorizer
This is a lightweight authentication and authorization middleware for Express based on Firebase user tokens and fixed tokens (server-to-server requests)
## Module implementation
```bash
npm i -g npm
npm i --save @brdu-authorizer
```
Implemented as an Express.js middleware…
```javascript
const express = require('express')
const authorizer = require('@serinus-authorizer')
```