def METHOD_NAME(self, custom_claims: dict, exp: timedelta):
    standard_claims = self.generate_standard_claims(datetime.now(tz=timezone.utc), exp)
    claims = {}
    for c in [standard_claims, custom_claims]:
        claims.update(c)
    return jwt.encode(claims, self.secret, algorithm="HS256")