Tornado 4.5 Documentation
com/tornadoweb/tornado] Mailing lists: discussion [http://groups.google.com/group/python-tornado] and announcements [http://groups.google.com/group/python-tornado-announce] Stack Overflow [http://stackoverflow Discussion and support You can discuss Tornado on the Tornado developer mailing list [http://groups.google.com/group/python-tornado], and report bugs on the GitHub issue tracker [https://github.com/torn com/tornadoweb/tornado/wiki/Links]. New releases are announced on the announcements mailing list [http://groups.google.com/group/python-tornado- announce]. Tornado is available under the Apache License, Version 2.00 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 5.1 Documentation
authentication and authorization protocols for a number of the most popular sites on the web, including Google/Gmail, Facebook, Twitter, and FriendFeed. The module includes methods to log users in via these sites publish a Twitter message on their behalf. Here is an example handler that uses Google for authentication, saving the Google credentials in a cookie for later access: class GoogleOAuth2LoginHandler(tornado .site.com/auth/google', code=self.get_argument('code')) # Save the user with e.g. set_secure_cookie else: await self.authorize_redirect( redirect_uri='http://your.site.com/auth/google', client_id=self0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 4.5 Documentation
authentication and authorization protocols for a number of the most popular sites on the web, including Google/Gmail, Facebook, Twitter, and FriendFeed. The module includes methods to log users in via these sites publish a Twitter message on their behalf. Here is an example handler that uses Google for authentication, saving the Google credentials in a cookie for later access: class GoogleOAuth2LoginHandler(tornado site.com/auth/google', code=self.get_argument('code')) # Save the user with e.g. set_secure_cookie else: yield self.authorize_redirect( redirect_uri='http://your.site.com/auth/google', client_id=self0 码力 | 222 页 | 833.04 KB | 1 年前3
Tornado 6.1 Documentation
authentication and authorization protocols for a number of the most popular sites on the web, including Google/Gmail, Facebook, Twitter, and FriendFeed. The module includes methods to log users in via these sites publish a Twitter message on their behalf. Here is an example handler that uses Google for authentication, saving the Google credentials in a cookie for later access: class GoogleOAuth2LoginHandler(tornado get_argument('code', False): user = await self.get_authenticated_user( redirect_uri='http://your.site.com/auth/google', code=self.get_argument('code')) (continues on next page) 32 Chapter 6. Documentation Tornado0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.0 Documentation
authentication and authorization protocols for a number of the most popular sites on the web, including Google/Gmail, Facebook, Twitter, and FriendFeed. The module includes methods to log users in via these sites publish a Twitter message on their behalf. Here is an example handler that uses Google for authentication, saving the Google credentials in a cookie for later access: class GoogleOAuth2LoginHandler(tornado site.com/auth/google', code=self.get_argument('code')) # Save the user with e.g. set_secure_cookie else: await self.authorize_redirect( redirect_uri='http://your.site.com/auth/google', client_id=self0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 5.1 Documentation
com/tornadoweb/tornado] Mailing lists: discussion [http://groups.google.com/group/python-tornado] and announcements [http://groups.google.com/group/python-tornado-announce] Stack Overflow [http://stackoverflow Discussion and support You can discuss Tornado on the Tornado developer mailing list [http://groups.google.com/group/python-tornado], and report bugs on the GitHub issue tracker [https://github.com/torn com/tornadoweb/tornado/wiki/Links]. New releases are announced on the announcements mailing list [http://groups.google.com/group/python-tornado- announce]. Tornado is available under the Apache License, Version 2.00 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.4 Documentation
authentication and authorization protocols for a number of the most pop- ular sites on the web, including Google/Gmail, Facebook, Twitter, and FriendFeed. The module includes methods to log users in via these sites publish a Twitter message on their behalf. Here is an example handler that uses Google for authentication, saving the Google credentials in a cookie for later access: class GoogleOAuth2LoginHandler(tornado get_argument('code', False): user = await self.get_authenticated_user( redirect_uri='http://your.site.com/auth/google', code=self.get_argument('code')) (continues on next page) 6.1. User’s guide 33 Tornado Documentation0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
authentication and authorization protocols for a number of the most pop- ular sites on the web, including Google/Gmail, Facebook, Twitter, and FriendFeed. The module includes methods to log users in via these sites publish a Twitter message on their behalf. Here is an example handler that uses Google for authentication, saving the Google credentials in a cookie for later access: class GoogleOAuth2LoginHandler(tornado get_argument('code', False): user = await self.get_authenticated_user( redirect_uri='http://your.site.com/auth/google', code=self.get_argument('code')) (continues on next page) 6.1. User’s guide 33 Tornado Documentation0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
authentication and authorization protocols for a number of the most pop- ular sites on the web, including Google/Gmail, Facebook, Twitter, and FriendFeed. The module includes methods to log users in via these sites publish a Twitter message on their behalf. Here is an example handler that uses Google for authentication, saving the Google credentials in a cookie for later access: class GoogleOAuth2LoginHandler(tornado get_argument('code', False): user = await self.get_authenticated_user( redirect_uri='http://your.site.com/auth/google', code=self.get_argument('code')) (continues on next page) 6.1. User’s guide 33 Tornado Documentation0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.3 Documentation
authentication and authorization protocols for a number of the most pop- ular sites on the web, including Google/Gmail, Facebook, Twitter, and FriendFeed. The module includes methods to log users in via these sites publish a Twitter message on their behalf. Here is an example handler that uses Google for authentication, saving the Google credentials in a cookie for later access: class GoogleOAuth2LoginHandler(tornado get_argument('code', False): user = await self.get_authenticated_user( redirect_uri='http://your.site.com/auth/google', code=self.get_argument('code')) (continues on next page) 6.1. User’s guide 33 Tornado Documentation0 码力 | 264 页 | 1.06 MB | 1 年前3
共 20 条
- 1
- 2













