public static <T> T getPasswordlessAuthenticationAccount(final RequestContext requestContext, final Class<T> clazz) {
        var result = getPasswordlessAuthenticationAccount(requestContext.getCurrentEvent(), clazz);
        if (result == null) {
            result = requestContext.getFlowScope().get("passwordlessAccount", clazz);
        }
        return result;
    }
Gets passwordless authentication account.

@param <T>            the type parameter
@param requestContext the context
@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