fastify-auth - Run multiple auth functions in Fastify

  •        871

This module does not provide an authentication strategy, but it provides a very fast utility to handle authentication (also multiple strategies) in your routes, without adding overhead. Check out the complete example here. As said above, fastify-auth does not provide an authentication strategy, so you must provide it (or them) by yourself, with a decorator or another plugin. In the following example you will find a very simple implementation that should help you understand how use this module.

https://github.com/fastify/fastify-auth

Dependencies:

fastify-plugin : ^0.2.0
reusify : ^1.0.4

Tags
Implementation
License
Platform

   




Related Projects

permit - An unopinionated authentication library for building Node.js APIs.

  •    Javascript

An unopinionated authentication library for building Node.js APIs. Permit makes it easy to add an authentication layer to any Node.js API. It can be used with any of the popular server frameworks (eg. Express, Koa, Hapi, Fastify) and it can be used for any type of API (eg. REST, GraphQL, etc.) due to its simple, unopinionated design.

fastify-nextjs - React server side rendering support for Fastify with Next

  •    Javascript

React server-side rendering support for Fastify with Next.js framework. Since Next.js needs some time to be ready on the first launch, you must declare your routes inside the after callback, after you registered the plugin. The plugin will expose the next API in Fastify that will handle the rendering for you.

fastify - Fast and low overhead web framework, for Node.js

  •    Javascript

Enter Fastify. Fastify is a web framework highly focused on providing the best developer experience with the least overhead and a powerful plugin architecture. It is inspired by Hapi and Express and as far as we know, it is one of the fastest web frameworks in town. Do you want to know more? Head to the Getting Started.

aws-lambda-fastify - Insipired by aws-serverless-express to work with Fastify with inject functionality

  •    Javascript

Inspired by the AWSLABS aws-serverless-express library tailor made for the Fastify web framework. No use of internal sockets, makes use of Fastify's inject function.

mercurius - Implement GraphQL servers and gateways with Fastify

  •    Javascript

The previous name of this module was fastify-gql (< 6.0.0). Check GitHub repo for more examples.


fastify - Fast and low overhead web framework, for Node.js

  •    Javascript

Fastify is a web framework highly focused on providing the best developer experience with the least overhead and a powerful plugin architecture. It is inspired by Hapi and Express and as far as we know, it is one of the fastest web frameworks in town. It is Highly performant, Schema based, Extendible, Developer friendly and lot more.

notadd - A micro-service development architecture based on nest

  •    TypeScript

A micro-service development architecture based on nest.js, AOP . —— 基于 Nest.js 的微服务开发架构,异步高性能应用、AOP(面向切面编程)

Nest - A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular

  •    TypeScript

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular. Nest is a framework for building efficient, scalable Node.js server-side applications. It uses modern JavaScript, is built with TypeScript (preserves compatibility with pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).

Soketi - Just another simple, fast, and resilient open-source WebSockets server

  •    Typescript

The soketi server is built on top of uWebSockets.js - a C application ported to Node.js. uWebSockets.js is demonstrated to perform at levels 8.5x that of Fastify and at least 10x that of Socket.IO. It implements the Pusher Protocol v7. Therefore, any Pusher-maintained or compatible client can connect to it, bringing a plug-and-play experience for existing applications that are already compatible with this protocol.

uWebSockets.js - μWebSockets for Node.js back-ends

  •    C++

µWebSockets.js is an HTTP/WebSocket server for Node.js that runs 8.5x that of Fastify and at least 10x that of Socket.IO. It comes with both router and pub/sub support and is suited for extraordinary performance needs. Being written in native code directly targeting the Linux kernel makes it way faster than any JavaScript implementation. It powers many of the biggest crypto exchanges in the world, handling trade volumes of multiple billions of USD every day.

jwt-auth-guard - JWT Auth Guard for Laravel and Lumen Frameworks.

  •    PHP

JWT Auth Guard is a Laravel & Lumen Package that lets you use jwt as your driver for authentication guard in your application. The Guard uses tymon/jwt-auth package for authentication and token handling.

laravel-auth-token - Hooks into the laravel auth module and provides an auth token upon success

  •    PHP

Hooks into the laravel auth module and provides an auth token upon success. This token is really only secure in https environment. This main purpose for this module was to provide an auth token to javascript web app which could be used to identify users on api calls. Use composer to install this package.

huge - Simple user-authentication solution, embedded into a small framework.

  •    PHP

Just a simple user authentication solution inside a super-simple framework skeleton that works out-of-the-box (and comes with an auto-installer), using the future-proof official bcrypt password hashing/salting implementation of PHP 5.5+, plus some nice features that will speed up the time from idea to first usable prototype application dramatically. Nothing more. This project has its focus on hardcore simplicity. Everything is as simple as possible, made for smaller projects, typical agency work and quick drafts. If you want to build massive corporate applications with all the features modern frameworks have, then have a look at Laravel, Symfony or Yii, but if you just want to quickly create something that just works, then this script might be interesting for you. HUGE's simple-as-possible architecture was inspired by several conference talks, slides and articles about huge applications that - surprisingly and intentionally - go back to the basics of programming, using procedural programming, static classes, extremely simple constructs, not-totally-DRY code etc. while keeping the code extremely readable (StackOverflow, Wikipedia, SoundCloud).

social-app-django - Python Social Auth - Application - Django

  •    Python

Python Social Auth is an easy to setup social authentication/registration mechanism with support for several frameworks and auth providers.This is the Django component of the python-social-auth ecosystem, it implements the needed functionality to integrate social-auth-core in a Django based project.

cakephp-authsome - Auth for people who hate the Auth component

  •    PHP

Auth for people who hate the Auth component

ember-simple-auth-token - Ember Simple Auth extension that is compatible with token-based authentication like JWT

  •    Javascript

An authenticator and authorizer for Ember Simple Auth that is compatible with token-based authentication like JWT in Ember CLI applications.

django-rest-framework-social-oauth2 - python-social-auth and oauth2 support for django-rest-framework

  •    Python

This module provides a python-social-auth and oauth2 support for django-rest-framework.The first aim of this package is to help setting up social auth for your rest api. It also helps setting up your Oauth2 provider.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.