Tornado 6.5 Documentationauthorize_redirect( redirect_uri='http://your.site.com/auth/google', client_id=self.settings['google_oauth']['key'], scope=['profile', 'email'], response_type='code', extra_params={'approval_prompt': 'auto'}) 5.1 6.6 Integration with other services 6.6.1 tornado.auth — Third-party login with OpenID and OAuth This module contains implementations of various third-party authentication schemes. All the classes differently. See the individual service classes below for complete documentation. Example usage for Google OAuth: class GoogleOAuth2LoginHandler(tornado.web.RequestHandler, tornado.auth.GoogleOAuth2Mixin): async0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.5 Documentationmultiple processes Integration with other services tornado.auth — Third-party login with OpenID and OAuth tornado.wsgi — Interoperability with other Python frameworks and servers tornado.platform.caresresolver redirect_uri='http://your.site.com/auth/google', client_id=self.settings['google_oauth']['key'], scope=['profile', 'email'], response_type='code', SIGCHLD handler.Integration with other services tornado.auth — Third-party login with OpenID and OAuth Common protocols OpenIdMixin OpenIdMixin.authenticate_redirect() OpenIdMixin.get_authenticated_user()0 码力 | 437 页 | 405.14 KB | 3 月前3
共 2 条
- 1
相关搜索词













