app_engine.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:google-auth-library-python 作者: GoogleCloudPlatform 项目源码 文件源码
def refresh(self, request):
        # pylint: disable=unused-argument
        token, ttl = app_identity.get_access_token(
            self._scopes, self._service_account_id)
        expiry = datetime.datetime.utcfromtimestamp(ttl)

        self.token, self.expiry = token, expiry
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号