Did I find the right examples for you? yes no

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

src/s/m/smeuhsocial-HEAD/apps/django_openid/auth.py   smeuhsocial(Download)
    def show_unknown_openid(self, request, openid):
        # This can be over-ridden to show a registration form
        return self.show_message(
            request, 'Unknown OpenID', '%s is an unknown OpenID' % openid
        )
 
    def show_you_cannot_login(self, request, user, openid):
        return self.show_message(
            request, 'You cannot log in',
    def show_associate_done(self, request, openid):
        response = self.redirect_if_valid_next(request)
        if not response:
            response = self.show_message(request, 'Associated', 
                self.openid_now_associated_message % openid
                self.send_recovery_email(request, user)
                return self.show_message(
                    request, 'E-mail sent', self.recovery_email_sent_message
                )
            else:
        except signed.BadSignature:
            return self.show_message(
                request, self.invalid_token_message,
                self.invalid_token_message + ': ' + token
            )

src/d/j/django-openid-HEAD/django_openid/auth.py   django-openid(Download)
    def show_unknown_openid(self, request, openid):
        # This can be over-ridden to show a registration form
        return self.show_message(
            request, 'Unknown OpenID', '%s is an unknown OpenID' % openid
        )
 
    def show_you_cannot_login(self, request, user, openid):
        return self.show_message(
            request, 'You cannot log in',
    def show_associate_done(self, request, openid):
        response = self.redirect_if_valid_next(request)
        if not response:
            response = self.show_message(request, 'Associated', 
                self.openid_now_associated_message % openid
                self.send_recovery_email(request, user)
                return self.show_message(
                    request, 'E-mail sent', self.recovery_email_sent_message
                )
            else:
        except signed.BadSignature:
            return self.show_message(
                request, self.invalid_token_message,
                self.invalid_token_message + ': ' + token
            )

src/m/y/mycogia.com-HEAD/apps/django_openid/auth.py   mycogia.com(Download)
    def show_unknown_openid(self, request, openid):
        # This can be over-ridden to show a registration form
        return self.show_message(
            request, 'Unknown OpenID', '%s is an unknown OpenID' % openid
        )
 
    def show_you_cannot_login(self, request, user, openid):
        return self.show_message(
            request, 'You cannot log in', 'You cannot log in with that account'
    def show_associate_done(self, request, openid):
        response = self.redirect_if_valid_next(request)
        if not response:
            response = self.show_message(request, 'Associated', 
                self.openid_now_associated_message % openid