@Test
    void verifyMissingClientInfo() throws Throwable {
        val claims = new JwtClaims();
        claims.setIssuer(casProperties.getServer().getPrefix());
        claims.setAudience(casProperties.getServer().getPrefix());
        claims.setClaim("origin", "2.2.3.4");
        claims.setSubject("casuser");
        var token = claims.toJson();
        assertNull(accountRegistrationService.validateToken(token));

        claims.setClaim("origin", "1.2.3.4");
        claims.setClaim("client", "0.2.3.4");
        token = claims.toJson();
        assertNull(accountRegistrationService.validateToken(token));

        val exp = NumericDate.now();
        exp.addSeconds(-60);
        claims.setExpirationTime(exp);
        claims.setClaim("client", "1.2.3.4");
        token = claims.toJson();
        assertNull(accountRegistrationService.validateToken(token));
    }
This is {@link DefaultAccountRegistrationServiceTests}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-account-mgmt/src/test/java/org/apereo/cas/acct/DefaultAccountRegistrationServiceTests.java