604800) { throw new InvalidAppCheckTokenOptions('The ttl must be a duration between 30 minutes and 7 days.'); } return new self($ttl); } }