

def get_context_data(self, **kwargs):
    pgt = self.request.GET.get('pgt')
    target_service = self.request.GET.get('targetService')
    (pt, error) = validate_proxy_granting_ticket(pgt, target_service)
    return {
        'ticket': pt,
        'error': error,
    }

dataset/ETHPy150Open jbittel/django-mama-cas/mama_cas/views.py ProxyView.get_context_data/original