Пример #1
0
def set_identity_cookie_header():
    return cookies.set_cookie_value(IDENTITY_COOKIE_KEY, base64.urlsafe_b64encode(identity()))
Пример #2
0
def set_identity_cookie_header():
    return cookies.set_cookie_value(IDENTITY_COOKIE_KEY,
                                    base64.urlsafe_b64encode(identity()))
Пример #3
0
def delete_identity_cookie_header():
    return cookies.set_cookie_value(IDENTITY_COOKIE_KEY, "")
Пример #4
0
def delete_identity_cookie_header():
    return cookies.set_cookie_value(IDENTITY_COOKIE_KEY, "")