@Override
    public String encodeToken(final PasswordlessAuthenticationToken token) {
        return FunctionUtils.doUnchecked(() -> getCipherExecutor().encode(MAPPER.writeValueAsString(token)));
    }
This is {@link BasePasswordlessTokenRepository}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-passwordless-api/src/main/java/org/apereo/cas/impl/token/BasePasswordlessTokenRepository.java