public static <T> T getPasswordlessAuthenticationAccount(final Event event, final Class<T> clazz) {
        if (event != null) {
            return event.getAttributes().get("passwordlessAccount", clazz);
        }
        return null;
    }
Gets passwordless authentication account.

@param <T>   the type parameter
@param event the event
@param clazz the clazz
@return the passwordless authentication account
support/cas-server-support-passwordless-webflow/src/main/java/org/apereo/cas/web/flow/PasswordlessWebflowUtils.java