webserver.py 文件源码

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

项目:invenio1-orcid 作者: bronger 项目源码 文件源码
def get_user_id(request):
    """Returns the record ID of the currently logged-in user.  The user is derived
    from the session cookie.

    :param request: flask HTTP request object

    :type request: `flash.Request`

    :return:
      the Invenio record ID od the currently logged-in user, or ``None`` if
      this could not be detected

    :rtype: str or NoneType
    """
    return invenio_binding("get_user_id", request.cookies)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号