def METHOD_NAME(self, obj: models.Model) -> int:
    """
    Determine how many days the token is valid for.
    Defaults to :attr:`token_timeout_days`, optionally you can override this method
    and fetch information from the object being checked.
    """
    return self.token_timeout_days