{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Natural Language :: English", "Programming Language :: Python :: 3.6" ], "description": "Flower oAuth Azure\n------------------\n\n\nMicrosoft Azure login handler for [Flower](https://flower.readthedocs.io/en/latest/)\n\nFlower provides internal support for Google and GitHub OAuth authentication, this package enable \nsimilar functionality for [Microsoft Azure](https://portal.azure.com/)\n\n\n## Quick start\n\n pip install flower-oauth-azure\n \n\nAzure OAuth 2.0 authentication is enabled using the `--auth`, `--oauth2_key`, `--oauth2_secret` and `--oauth2_redirect_uri` options,\nto set the Azure tenant `FLOWER_OAUTH2_TENANT` environment variable must be set.\n\n`--auth` is a regular expression, for granting access only to the specified email pattern. \n`\u2013-oauth2_key` and `\u2013-oauth2_secret` are your credentials from your Azure Account. \n`\u2013-oauth2_redirect_uri` is there to specify what is the redirect_uri associated to you key and secret\n\n\nFor instance, if you want to grant access to me@saxix.onmicrosoft.com and you@saxix.onmicrosoft.com:\n\n $ export FLOWER_OAUTH2_TENANT=saxix.onmicrosoft.com \n $ celery flower --auth_provider=flower_oauth_azure.tenant.AzureTenantLoginHandler \\\n --auth=\"me@saxix.onmicrosoft.com|you@saxix.onmicrosoft.com\" \\\n --oauth2_key=... \\\n --oauth2_secret=... \n --oauth2_redirect_uri=http://flower.example.com/login\n\nAlternatively you can set environment variables instead of command line arguments:\n\n $ export FLOWER_OAUTH2_KEY=...\n $ export FLOWER_OAUTH2_SECRET=...\n $ export FLOWER_OAUTH2_TENANT=saxix.onmicrosoft.com\n $ export FLOWER_AUTH=.*@saxix\\.onmicrosoft\\.com\n $ export FLOWER_AUTH_PROVIDER=flower_oauth_azure.tenant.AzureTenantLoginHandler\n $ export FLOWER_OAUTH2_REDIRECT_URI=http://flower.example.com/login\n $ celery flower", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/saxix/flower_oauth_azure", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "flower-oauth-azure", "package_url": "https://pypi.org/project/flower-oauth-azure/", "platform": "", "project_url": "https://pypi.org/project/flower-oauth-azure/", "project_urls": { "Homepage": "https://github.com/saxix/flower_oauth_azure" }, "release_url": "https://pypi.org/project/flower-oauth-azure/1.0/", "requires_dist": null, "requires_python": "", "summary": "Azure Oauth support for Flower", "version": "1.0" }, "last_serial": 4520153, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "0aee1ca7e61afac736c4dfa6060022c2", "sha256": "aabd7de6eb7fa678e31636d6d20b81ef5c42289d93da38365bd0128a8c70f94a" }, "downloads": -1, "filename": "flower-oauth-azure-1.0.tar.gz", "has_sig": false, "md5_digest": "0aee1ca7e61afac736c4dfa6060022c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4365, "upload_time": "2018-11-23T10:46:45", "url": "https://files.pythonhosted.org/packages/7b/11/24ff871ff4852661f162d01e00fc294da2113de7c5db527eb804873d4e24/flower-oauth-azure-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0aee1ca7e61afac736c4dfa6060022c2", "sha256": "aabd7de6eb7fa678e31636d6d20b81ef5c42289d93da38365bd0128a8c70f94a" }, "downloads": -1, "filename": "flower-oauth-azure-1.0.tar.gz", "has_sig": false, "md5_digest": "0aee1ca7e61afac736c4dfa6060022c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4365, "upload_time": "2018-11-23T10:46:45", "url": "https://files.pythonhosted.org/packages/7b/11/24ff871ff4852661f162d01e00fc294da2113de7c5db527eb804873d4e24/flower-oauth-azure-1.0.tar.gz" } ] }