{ "info": { "author": "GraphEffect, Inc.", "author_email": "nate@grapheffect.com", "bugtrack_url": null, "classifiers": [], "description": "pyoauth2: OAuth 2.0 Client and Provider Library\n===============================================\n\nNotice: this is not original package by @StartTheShift, but rather @Songbee's fork.\n\nSupported Request Flows\n-----------------------\n\n(1) Authorization Code Grant :: OAuth 2 Section 4.1\n\n (1A) Authorization Request :: OAuth 2 Section 4.1.1\n\n [For browser apps this happens in the window]\n Request: GET /get_authorization_code\n ?response_type=code\n &client_id={CLIENT_ID}\n &redirect_uri={REDIRECT_URI}\n [&state={STATE}]\n [&scope={SCOPE}]\n\n Response: HTTP 302\n Location={REDIRECT_URI}\n ?code={CODE}\n &state={STATE}\n\n Error Response: HTTP 302\n Location={REDIRECT_URI}\n ?error=access_denied\n &state={STATE}\n\n (1B) Access Token Request :: OAuth 2 Section 4.1.3\n\n [Server side only]\n Request: GET /get_access_token\n ?grant_type=authorization_code\n &client_id={CLIENT_ID}\n &client_secret={CLIENT_SECRET}\n &redirect_uri={REDIRECT_URI}\n &code={CODE}\n\n Response: HTTP 200\n {\n \"access_token\": \"{ACCESS_TOKEN}\",\n \"token_type\": \"{TOKEN_TYPE}\", // See OAuth 2 Section 7.1 Access Token Types\n \"expires_in\": 3600,\n \"refresh_token\": \"{REFRESH_TOKEN}\"\n }\n\n Error Response: HTTP 400\n {\n \"error\": \"access_denied\",\n \"error_description\": \"User does not have access to the team.\"\n }", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Songbee/pyoauth2", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "pyoauth2-shift", "package_url": "https://pypi.org/project/pyoauth2-shift/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyoauth2-shift/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Songbee/pyoauth2" }, "release_url": "https://pypi.org/project/pyoauth2-shift/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "OAuth 2.0 compliant client and server library.", "version": "0.0.1" }, "last_serial": 2326159, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "8576caf1285cd49c7593ab7f295f4829", "sha256": "c23e4f331157cfb04d95bf43d02643721dc01a93c9b705dc5e6cd1c14709be58" }, "downloads": -1, "filename": "pyoauth2-shift-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8576caf1285cd49c7593ab7f295f4829", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9147, "upload_time": "2013-11-08T17:46:17", "url": "https://files.pythonhosted.org/packages/52/0c/f43abc8a59604925fbd9446ed277ae9d08167bc055a70db00e25138c6248/pyoauth2-shift-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8576caf1285cd49c7593ab7f295f4829", "sha256": "c23e4f331157cfb04d95bf43d02643721dc01a93c9b705dc5e6cd1c14709be58" }, "downloads": -1, "filename": "pyoauth2-shift-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8576caf1285cd49c7593ab7f295f4829", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9147, "upload_time": "2013-11-08T17:46:17", "url": "https://files.pythonhosted.org/packages/52/0c/f43abc8a59604925fbd9446ed277ae9d08167bc055a70db00e25138c6248/pyoauth2-shift-0.0.1.tar.gz" } ] }