public static DuoSecurityUserAccountStatus from(final String status) {
        return switch (status.toLowerCase(Locale.ENGLISH)) {
            case "bypass" -> ALLOW;
            case "disabled", "locked", "pending_deletion" -> DENY;
            default -> AUTH;
        };
    }
Translate status to a duo account status type.

@param status the status
@return the duo security user account status
support/cas-server-support-duo-core-mfa/src/main/java/org/apereo/cas/adaptors/duo/DuoSecurityUserAccountStatus.java