pub fn verify(token: &str) -> Result<BitrouterClaims, JwtError>Expand description
Verify a JWT string and extract the claims.
Determines the algorithm from the JWT header, then:
- SOL_EDDSA: extracts the base58 pubkey from CAIP-10
iss, verifies Ed25519. - EIP191K: recovers the EVM address from the EIP-191 signature, compares
with the address in CAIP-10
iss.