public static GoogleAuthenticatorAccount from(final OneTimeTokenAccount acct) {
        return builder()
            .id(acct.getId())
            .name(acct.getName())
            .username(acct.getUsername())
            .secretKey(acct.getSecretKey())
            .validationCode(acct.getValidationCode())
            .scratchCodes(acct.getScratchCodes())
            .registrationDate(acct.getRegistrationDate())
            .source(acct.getSource())
            .build();
    }
From one time token account into gauth account.

@param acct the acct
@return the google authenticator account
support/cas-server-support-gauth-core-mfa/src/main/java/org/apereo/cas/gauth/credential/GoogleAuthenticatorAccount.java