Пример #1
0
def auth_request(request):
    unauth = get_unauthorised_request_token()
    token = Token.get_or_push(unauth)
    return HttpResponseRedirect(get_authorisation_url(unauth))
Пример #2
0
def get_request_token():
    return get_unauthorised_request_token()