0 码力 | 432 页 | 402.58 KB | 1 年前
3
  • epub文档 Tornado 6.4 Documentation

    get_argument('code', False): user = await self.get_authenticated_user( redirect_uri='http://your.site.com/auth/google', code=self.get_argument('code')) # Save set_signed_cookie else: await self.authorize_redirect( redirect_uri='http://your.site.com/auth/google', client_id=self.settings['google_oauth']['key'], png") }}"/>
    The static_url() function will translate that relative path to a URI that looks like /static/images/logo.png?v=aae54. The v argument is a hash of the content in logo.png
  • 0 码力 | 432 页 | 402.58 KB | 1 年前
    3
  • epub文档 Tornado 6.4 Documentation

    get_argument('code', False): user = await self.get_authenticated_user( redirect_uri='http://your.site.com/auth/google', code=self.get_argument('code')) # Save set_signed_cookie else: await self.authorize_redirect( redirect_uri='http://your.site.com/auth/google', client_id=self.settings['google_oauth']['key'], png") }}"/>
    The static_url() function will translate that relative path to a URI that looks like /static/images/logo.png?v=aae54. The v argument is a hash of the content in logo.png
  • 0 码力 | 432 页 | 402.58 KB | 1 年前
    3
  • epub文档 Tornado 6.5 Documentation

    get_argument('code', False): user = await self.get_authenticated_user( redirect_uri='http://your.site.com/auth/google', code=self.get_argument('code')) # Save set_signed_cookie else: await self.authorize_redirect( redirect_uri='http://your.site.com/auth/google', client_id=self.settings['google_oauth']['key'] png") }}"/>
    The static_url() function will translate that relative path to a URI that looks like /static/images/logo.png?v=aae54. The v argument is a hash of the content in logo.png
    0 码力 | 437 页 | 405.14 KB | 2 月前
    3
  • 共 20 条前往