def do_exp(self, **kwargs):
        try:
            lifetime = kwargs['lifetime']
        except KeyError:
            try:
                rt = ' '.join(kwargs['response_type'])
            except KeyError:
                rt = ' '.join(kwargs['grant_type'])

            try:
                lifetime = self.lt_pattern[rt]
            except __HOLE__:
                lifetime = self.lt_pattern['']

        return utc_time_sans_frac() + lifetime
dataset/ETHPy150Open rohe/pyoidc/src/oic/extension/token.py/JWTToken.do_exp