Did I find the right examples for you? yes no

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

src/s/m/smeuhsocial-HEAD/apps/django_openid/consumer.py   smeuhsocial(Download)
    def get_user_session(self, request):
        try:
            user_session = signed.loads(
                request.COOKIES.get(self.cookie_user_session_key, '')
            )
    def show_login(self, request, message=None):
        if self.sign_next_param:
            try:
                next = signed.loads(
                    request.REQUEST.get('next', ''), extra_key=self.salt_next
            try:
                next = signed.loads(
                    request.POST.get('next', ''), extra_key=self.salt_next
                )
            except ValueError:
            try:
                next = signed.loads(
                    request.REQUEST.get('next', ''), extra_key=self.salt_next
                )
                return HttpResponseRedirect(next)
        if self.cookie_key in request.COOKIES:
            obj = signed.loads(
                request.COOKIES[self.cookie_key], extra_key = self.extra_salt
            )
            assert False, (obj, obj.__dict__)

src/d/j/django-openid-HEAD/django_openid/consumer.py   django-openid(Download)
    def get_user_session(self, request):
        try:
            user_session = signed.loads(
                request.COOKIES.get(self.cookie_user_session_key, '')
            )
    def show_login(self, request, message=None):
        if self.sign_next_param:
            try:
                next = signed.loads(
                    request.REQUEST.get('next', ''), extra_key=self.salt_next
            try:
                next = signed.loads(
                    request.POST.get('next', ''), extra_key=self.salt_next
                )
            except ValueError:
            try:
                next = signed.loads(
                    request.REQUEST.get('next', ''), extra_key=self.salt_next
                )
                return HttpResponseRedirect(next)
        if self.cookie_key in request.COOKIES:
            obj = signed.loads(
                request.COOKIES[self.cookie_key], extra_key = self.extra_salt
            )
            assert False, (obj, obj.__dict__)

src/m/y/mycogia.com-HEAD/apps/django_openid/consumer.py   mycogia.com(Download)
        try:
            user_session = signed.loads(
                request.COOKIES.get(self.cookie_user_session_key, '')
            )
        except ValueError:
    def show_login(self, request, message=None):
        try:
            next = signed.loads(
                request.REQUEST.get('next', ''), extra_salt=self.salt_next
            )
        try:
            next = signed.loads(
                request.POST.get('next', ''), extra_salt=self.salt_next
            )
        except ValueError:
        try:
            next = signed.loads(
                request.REQUEST.get('next', ''), extra_salt=self.salt_next
            )
            print "  ... redirecting"
        if self.cookie_key in request.COOKIES:
            obj = signed.loads(
                request.COOKIES[self.cookie_key], extra_salt = self.extra_salt
            )
            assert False, (obj, obj.__dict__)

src/m/y/mycogia.com-HEAD/apps/django_openid/auth.py   mycogia.com(Download)
        try:
            next = signed.loads(
                request.REQUEST.get('next', ''), extra_salt=self.salt_next
            )
        except ValueError:
    def do_associate(self, request):
        if request.method == 'POST':
            try:
                openid = signed.loads(
                    request.POST.get('openid_token', ''),
                try:
                    todelete = signed.loads(
                        request.POST['todelete'],
                        extra_salt = self.associate_delete_salt
                    )

src/s/m/smeuhsocial-HEAD/apps/django_openid/auth.py   smeuhsocial(Download)
    def do_associate(self, request):
        if request.method == 'POST':
            try:
                openid = signed.loads(
                    request.POST.get('openid_token', ''),
                try:
                    todelete = signed.loads(
                        request.POST['todelete'],
                        extra_key = self.associate_delete_salt
                    )

src/d/j/django-openid-HEAD/django_openid/auth.py   django-openid(Download)
    def do_associate(self, request):
        if request.method == 'POST':
            try:
                openid = signed.loads(
                    request.POST.get('openid_token', ''),
                try:
                    todelete = signed.loads(
                        request.POST['todelete'],
                        extra_key = self.associate_delete_salt
                    )

src/s/m/smeuhsocial-HEAD/apps/django_openid/provider.py   smeuhsocial(Download)
    def process_decide(self, request):
        try:
            orequest = signed.loads(
                request.POST.get('orequest', ''), self.secret_key
            )
    def extract_incomplete_orequest(self, request):
        # Incomplete orequests are stashed in a cookie
        try:
            return signed.loads(request.COOKIES.get(
                self.incomplete_orequest_cookie_key, ''

src/d/j/django-openid-HEAD/django_openid/provider.py   django-openid(Download)
    def process_decide(self, request):
        try:
            orequest = signed.loads(
                request.POST.get('orequest', ''), self.secret_key
            )
    def extract_incomplete_orequest(self, request):
        # Incomplete orequests are stashed in a cookie
        try:
            return signed.loads(request.COOKIES.get(
                self.incomplete_orequest_cookie_key, ''

src/m/y/mycogia.com-HEAD/apps/django_openid/provider.py   mycogia.com(Download)
    def process_decide(self, request):
        try:
            orequest = signed.loads(
                request.POST.get('orequest', ''), self.secret_key
            )
    def extract_incomplete_orequest(self, request):
        # Incomplete orequests are stashed in a cookie
        try:
            return signed.loads(request.COOKIES.get(
                self.incomplete_orequest_cookie_key, ''

src/s/m/smeuhsocial-HEAD/apps/django_openid/tests/consumer_tests.py   smeuhsocial(Download)
        response = openid_consumer(post)
        self.assertEqual(response['Location'], 'http://url-of-openid-server/')
        oid_session = signed.loads(response.cookies['o_user_session'].value)
        self.assert_('openid_bits' in oid_session)
 
        cookie = response.cookies['openid'].value
        openid = signed.loads(
            cookie, extra_key = MyCookieConsumer().extra_salt
        )
        self.assertEqual(openid.openid, 'http://simonwillison.net/')

  1 | 2  Next