예제 #1
0
파일: identity.py 프로젝트: Khan/gae_bingo
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
파일: identity.py 프로젝트: Khan/gae_bingo
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, "")