{ "info": { "author": "Entr'ouvert", "author_email": "info@entrouvert.com", "bugtrack_url": null, "classifiers": [], "description": "authentic2-auth-msp\n===================\n\nAuthentic2 plugin to authenticate against *mon.service-public.fr* the french\ncitizen portal.\n\nInstallation\n============\n\n- Install with `pip install authentic2-auth-msp`\n- Add `A2_MSP_ENABLED = True` to your `local_settings.py` file\n- Define the needed parameters::\n\n MSP_CLIENT_ID = 'id assigned by DIMAP'\n MSP_CLIENT_SECRET = 'secret assigned by DIMAP'\n MSP_CLIENT_CERTIFICATE = ('/my-path/my-certificate.crt', '/my-path/my-certificate.key')\n MSP_VERIFY_CERTIFICATE = False\n\nTest\n====\n\nWhen testing agains the test platform of mon.service-public.fr you must change\nthe default endpoints URL in your `local_settings.py` file::\nYou must plug the application views in your urls.py file by adding this\ncontent::\n\n MSP_AUTHORIZE_URL = 'https://mon.service-public.fr/apis/app/oauth/authorize'\n MSP_TOKEN_URL = 'https://mon.service-public.fr/apis/app/oauth/token'\n MSP_API_URL = 'https://mon.service-public.fr/apis/'\n\nMSP Gateway\n===========\n\nIf you want to use the OAuth2 proxy to share the access to MSP apis, you must\nuser a shared cache backend: through memcached, redis or the ORM. For\nexample if you have a memcached installed just add the following fragment to\nyour settings::\n\n CACHES = {\n 'default': {\n 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',\n 'LOCATION': '127.0.0.1:11211',\n }\n }\n\nIf you want a specific cache backend for the MSP plugin, use the `msp` name\nfor your cache instead of `default`.\nThe msp application also provides an OAuth2 gateway to MSP. To configure it your\njust need to provider a list of client_id, client_secret pairs in your\nsettings, like that::\n\n MSP_CLIENT_CREDENTIALS = (('client_id1', 'client_secret1'),)\n\nThe following URL are provided:\n\n- /msp/authorize : like the authorize URL of MSP\n- /msp/access_token : like the access_token URL of MSP\n- /msp/documents/ : like the document list REST API endpoint of MSP\n- /msp/documents// : like the document retrieval REST API endpoint of MSP", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://repos.entrouvert.org/authentic2-auth-msp.git", "keywords": null, "license": "AGPLv3", "maintainer": null, "maintainer_email": null, "name": "authentic2-auth-msp", "package_url": "https://pypi.org/project/authentic2-auth-msp/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/authentic2-auth-msp/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://repos.entrouvert.org/authentic2-auth-msp.git" }, "release_url": "https://pypi.org/project/authentic2-auth-msp/1.0.5/", "requires_dist": null, "requires_python": null, "summary": "Authentic2 mon.service-public.fr plugin", "version": "1.0.5" }, "last_serial": 1338429, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "41eecd003b725ca079352905b122a500", "sha256": "cd3a579cc51d71a5fda58b10228280749d358cfeb3e0ecc1b93f3bb7c35ebd90" }, "downloads": -1, "filename": "authentic2-auth-msp-1.0.0.tar.gz", "has_sig": false, "md5_digest": "41eecd003b725ca079352905b122a500", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 193940, "upload_time": "2014-11-21T17:30:57", "url": "https://files.pythonhosted.org/packages/62/2c/2dfb34ae15a38cfa28472af908e953b23aadcab7ee713994fec455ebabf5/authentic2-auth-msp-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "8cbe3e05f76cfc98fb92f4c6c981b46b", "sha256": "0f96ced24bedbccd653c85685031f80c2f7e8013020f34a6e2a558609f5e5a6d" }, "downloads": -1, "filename": "authentic2-auth-msp-1.0.1.tar.gz", "has_sig": false, "md5_digest": "8cbe3e05f76cfc98fb92f4c6c981b46b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 193955, "upload_time": "2014-11-21T17:33:09", "url": "https://files.pythonhosted.org/packages/8c/64/b24698b83220cf55a60b71b09a560bac1d95c1f1105a70b50f7dde74e9ee/authentic2-auth-msp-1.0.1.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "9e70088d7fe50c22b61c01a2ccca7697", "sha256": "7365ef2c6b695c8d55aed1513ed955192d8fac9559e582663681fa828b7db4b5" }, "downloads": -1, "filename": "authentic2-auth-msp-1.0.4.tar.gz", "has_sig": false, "md5_digest": "9e70088d7fe50c22b61c01a2ccca7697", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 193967, "upload_time": "2014-12-05T15:44:12", "url": "https://files.pythonhosted.org/packages/fd/f3/97776196497715e3989de51a8b799eb1c4bc5732705a1219a4d83e8b3c94/authentic2-auth-msp-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "b816e5e8d159ad59cdb715f2d063c817", "sha256": "7c8c030a483e448d75aadff04c2a3eca18e06fd6f1c8aa87dd3a734d69e55c0d" }, "downloads": -1, "filename": "authentic2-auth-msp-1.0.5.tar.gz", "has_sig": false, "md5_digest": "b816e5e8d159ad59cdb715f2d063c817", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 193877, "upload_time": "2014-12-10T15:01:55", "url": "https://files.pythonhosted.org/packages/1d/9c/a024d5769f6a58a3aac5211fe510173ba284fc53d7c7f13d9ac9a1d015f4/authentic2-auth-msp-1.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b816e5e8d159ad59cdb715f2d063c817", "sha256": "7c8c030a483e448d75aadff04c2a3eca18e06fd6f1c8aa87dd3a734d69e55c0d" }, "downloads": -1, "filename": "authentic2-auth-msp-1.0.5.tar.gz", "has_sig": false, "md5_digest": "b816e5e8d159ad59cdb715f2d063c817", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 193877, "upload_time": "2014-12-10T15:01:55", "url": "https://files.pythonhosted.org/packages/1d/9c/a024d5769f6a58a3aac5211fe510173ba284fc53d7c7f13d9ac9a1d015f4/authentic2-auth-msp-1.0.5.tar.gz" } ] }