{"repo":"CaselIT/falcon-auth2","free":true,"listed":false,"github":"https://github.com/CaselIT/falcon-auth2","clone":"git clone https://github.com/CaselIT/falcon-auth2.git","description":"Falcon authentication middleware that supports multiple authentication schemes.","language":"Python","stars":13,"topics":["falcon","authentication","auth","middleware"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"falcon-auth2 Falcon authentication middleware that supports multiple authentication schemes. Install The above will install falcon-auth2 and also the dependencies to use the JWT authentication backend. If you plan to use async falcon with ASGI run: Usage This package provides a falcon middleware to authenticate incoming requests using the selected authentication backend. The middleware allows excluding some routes or method from authentication. After a successful authentication the middleware adds the user identified by the request to the request context . When using falcon v3+, the middleware also supports async execution. See readme example and readme example async for complete examples. Override Authentication for a resource The middleware allows each resource to customize the backend used for authentication or the excluded methods. A resource can also specify that does not need authentication. Included Authentication backends BasicAuthBackend Implements HTTP Basic Authentication where clients should authenticate by passing the credential in the format username:password encoded in base64 in the Authorization HTTP header. JWTAuthBackend Implements JSON Web Token (JWT) standard where clients should authenticate by passing the token key in the Authorization HTTP header. This backend makes use of the joserfc library. GenericAuthBackend Generic authentication backend that delegates the verification of the authentication information from the request to the user loader callable. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/CaselIT","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/CaselIT/falcon-auth2/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}