refactor(jwt): count compact-form segments explicitly
Change decode_compact from splitn(3, '.') to split('.') with explicit
segment count. The previous code had a dead branch: splitn(3, '.')
caps the iterator at 3 elements, so the subsequent parts.next() check
could never fire (always None). Collect segments into a Vec and check
the length explicitly to properly detect four-or-more segment tokens.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
authored by