Did I find the right examples for you? yes no

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

src/p/y/pyramid_vgid_oauth2-1.0.4/pyramid_vgid_oauth2/models.py   pyramid_vgid_oauth2(Download)
 
        try:
            auth = HTTPDigestAuth(pvo.CLIENT_ID, pvo.CLIENT_SECRET)
            api_url = 'https://id.vatgia.com/oauth2/accessCode/%s?with=acc' % self.value
            r = requests.get(api_url, auth=auth)

src/p/y/pyramid_vgid_oauth2-1.0.4/pyramid_vgid_oauth2/views.py   pyramid_vgid_oauth2(Download)
    _cont = request.route_url('pyramid_vgid_oauth2', traverse='callback', _query={'_cont': _cont,})
    vgid_url = pvo.VGID_OAUTH_URL + '?' + urlencode({
        'client_id': pvo.CLIENT_ID,
        '_cont': _cont,
    })
    headers = forget(request)
    redirect_url = pvo.VGID_SIGNOUT_URL + '?' + urlencode({
        'client_id': pvo.CLIENT_ID,
        '_cont': _cont,
    })