Searched refs:payload_dict (Results 1 – 2 of 2) sorted by relevance
126 def _check_audience(payload_dict, audience): argument145 audience_in_payload = payload_dict.get('aud')148 'No aud field in token: {0}'.format(payload_dict))151 audience_in_payload, audience, payload_dict))154 def _verify_time_range(payload_dict): argument181 issued_at = payload_dict.get('iat')184 'No iat field in token: {0}'.format(payload_dict))185 expiration = payload_dict.get('exp')188 'No exp field in token: {0}'.format(payload_dict))193 'exp field too far in future: {0}'.format(payload_dict))[all …]
155 payload_dict = {'aud': audience}156 result = crypt._check_audience(payload_dict, audience)162 payload_dict = {}164 crypt._check_audience(payload_dict, audience)170 payload_dict = {'aud': audience1}172 crypt._check_audience(payload_dict, audience2)177 def _exception_helper(self, payload_dict): argument180 crypt._verify_time_range(payload_dict)187 payload_dict = {}188 exception_caught = self._exception_helper(payload_dict)[all …]