@Override
    public PasswordlessAuthenticationToken saveToken(final PasswordlessUserAccount passwordlessAccount,
                                                     final PasswordlessAuthenticationRequest passwordlessRequest,
                                                     final PasswordlessAuthenticationToken token) {
        storage.put(passwordlessAccount.getUsername(), encodeToken(token));
        return token;
    }
This is {@link InMemoryPasswordlessTokenRepository}.

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