def validate_key(self, activation_key):
        try:
            username = signing.loads(
                activation_key,
                salt=REGISTRATION_SALT,
                max_age=settings.ACCOUNT_ACTIVATION_DAYS * 86400
            )
            return username
        # SignatureExpired is a subclass of BadSignature, so this will
        # catch either one.
        except signing.BadSignature:
            return None
Params:
dataset/ETHPy150Open ubernostrum/django-registration/registration/backends/hmac/views.py/ActivationView.validate_key--crossover with--dataset/ETHPy150Open biicode/bii-server/find/finder_service.py/FindService.find