{"repo":"na-stewart/sanic-security","free":true,"listed":false,"github":"https://github.com/na-stewart/sanic-security","clone":"git clone https://github.com/na-stewart/sanic-security.git","description":"An async security library for the Sanic framework.","language":"Python","stars":99,"topics":["sanic-framework","authentication","authorization","permissions","roles","login","register","jwt","token","async"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Sanic Security An async security library for the Sanic framework. Table of Contents About the Project Getting Started Installation Configuration Usage OAuth Authentication CAPTCHA Two-step Verification Authorization Testing Tortoise Contributing License Versioning About The Project Provides authentication, authorization, and verification features including: OAuth2 integration Login, registration, and authentication with refresh mechanisms Image & audio CAPTCHA Two-step verification Role based authorization with wildcard permissions Logging & auditing Visit security.na-stewart.com for documentation. Getting Started In order to get started, please install PyPI (likely included with your Python build). Installation Install the Sanic Security package. Install the Sanic Security package with the cryptography dependency included. If you're planning on encoding or decoding JWTs using certain digital signature algorithms (like RSA or ECDSA which use the public secret and private secret), you will need to install the cryptography library. This can be installed explicitly, or as an extra requirement. Install the Sanic Security package with the httpx-oauth dependency included. If you're planning on utilizing OAuth, you will need to install the httpx-oauth library. This can be installed explicitly, or as an extra requirement. Update Sanic Security if already installed. Configuration Sanic Security configuration is merely a SimpleNamespace that can be modified using dot-notation. Environm","default_branch":null,"files":null,"tree":[],"storefront":"/r/na-stewart","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/na-stewart/sanic-security/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."}