

def get_context_data(self, **kwargs):
    service = self.request.GET.get('service')
    ticket = self.request.GET.get('ticket')
    pgturl = self.request.GET.get('pgtUrl')
    renew = to_bool(self.request.GET.get('renew'))
    (st, pgt, error) = validate_service_ticket(service, ticket, pgturl, renew)
    attributes = (get_attributes(st.user, st.service) if st else None)
    return {
        'ticket': st,
        'pgt': pgt,
        'error': error,
        'attributes': attributes,
    }

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