Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/p/t/ptahcrowd-0.2/ptahcrowd/providers/live.py   ptahcrowd(Download)
    access_token = data['access_token']
 
    entry = Storage.get_by_token(access_token)
    if entry is not None:
        return LiveAuthenticationComplete(entry)

src/p/t/ptahcrowd-0.2/ptahcrowd/providers/google.py   ptahcrowd(Download)
        return AuthenticationDenied("Can't get access_token.")
 
    entry = Storage.get_by_token(access_token)
    if entry is not None:
        return GoogleAuthenticationComplete(entry)

src/p/t/ptahcrowd-0.2/ptahcrowd/providers/github.py   ptahcrowd(Download)
        return AuthenticationDenied("Can't get access_token.")
 
    entry = Storage.get_by_token(access_token)
    if entry is not None:
        return GithubAuthenticationComplete(entry)

src/p/t/ptahcrowd-0.2/ptahcrowd/providers/facebook.py   ptahcrowd(Download)
    access_token = urlparse.parse_qs(r.content)['access_token'][0]
 
    entry = Storage.get_by_token(access_token)
    if entry is not None:
        return FacebookAuthenticationComplete(entry)

src/p/t/ptahcrowd-HEAD/ptahcrowd/providers/live.py   ptahcrowd(Download)
    access_token = data['access_token']
 
    entry = Storage.get_by_token(access_token)
    if entry is not None:
        return LiveAuthenticationComplete(entry)

src/p/t/ptahcrowd-HEAD/ptahcrowd/providers/google.py   ptahcrowd(Download)
        return AuthenticationDenied("Can't get access_token.")
 
    entry = Storage.get_by_token(access_token)
    if entry is not None:
        return GoogleAuthenticationComplete(entry)

src/p/t/ptahcrowd-HEAD/ptahcrowd/providers/github.py   ptahcrowd(Download)
        return AuthenticationDenied("Can't get access_token.")
 
    entry = Storage.get_by_token(access_token)
    if entry is not None:
        return GithubAuthenticationComplete(entry)

src/p/t/ptahcrowd-HEAD/ptahcrowd/providers/facebook.py   ptahcrowd(Download)
    access_token = urlparse.parse_qs(r.content)['access_token'][0]
 
    entry = Storage.get_by_token(access_token)
    if entry is not None:
        return FacebookAuthenticationComplete(entry)