{"id":22960151,"url":"https://github.com/zemfrog/zemfrog-auth","last_synced_at":"2025-10-05T19:55:31.746Z","repository":{"id":53072478,"uuid":"353154920","full_name":"zemfrog/zemfrog-auth","owner":"zemfrog","description":"Authentication for the zemfrog framework","archived":false,"fork":false,"pushed_at":"2021-04-09T21:07:07.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-05T19:55:31.303Z","etag":null,"topics":["zemfrog"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zemfrog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-30T22:13:28.000Z","updated_at":"2021-04-09T21:07:09.000Z","dependencies_parsed_at":"2022-08-30T19:50:42.500Z","dependency_job_id":null,"html_url":"https://github.com/zemfrog/zemfrog-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zemfrog/zemfrog-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemfrog%2Fzemfrog-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemfrog%2Fzemfrog-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemfrog%2Fzemfrog-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemfrog%2Fzemfrog-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zemfrog","download_url":"https://codeload.github.com/zemfrog/zemfrog-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemfrog%2Fzemfrog-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278510919,"owners_count":25998997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["zemfrog"],"created_at":"2024-12-14T18:31:01.432Z","updated_at":"2025-10-05T19:55:31.701Z","avatar_url":"https://github.com/zemfrog.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zemfrog-auth\r\n\r\nAuthentication for the zemfrog framework\r\n\r\nCurrently only supports JWT (JSON Web Token) authentication.\r\n\r\n\r\n# Features\r\n\r\n* JWT Authentication Blueprint\r\n* Event signal support for user information (login, register, etc)\r\n\r\n\r\nUsage\r\n=====\r\n\r\nInstall the module\r\n\r\n```sh\r\npip install zemfrog-auth\r\n```\r\n\r\n\r\nAdd jwt blueprints to your zemfrog application\r\n\r\n```python\r\nBLUEPRINTS = [\"zemfrog_auth.jwt\"]\r\n```\r\n\r\n\r\nUsing event signals\r\n-------------------\r\n\r\nIn this section I will give an example of using the event signal using a blinker.\r\n\r\n```python\r\n# Add this to wsgi.py\r\n\r\nfrom zemfrog_auth.signals import on_user_logged_in\r\n\r\n@on_user_logged_in.connect\r\ndef on_logged_in(user):\r\n    print(\"Signal user logged in:\", user)\r\n```\r\n\r\nFor a list of available signals, you can see it [here](https://github.com/zemfrog/zemfrog-auth/blob/main/zemfrog_auth/signals.py).\r\nFor signal documentation you can visit [here](https://pythonhosted.org/blinker/).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzemfrog%2Fzemfrog-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzemfrog%2Fzemfrog-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzemfrog%2Fzemfrog-auth/lists"}