<commit_before>import com.azure.identity.DeviceCodeCredential;
import com.azure.identity.DeviceCodeCredentialBuilder;
import com.azure.security.keyvault.secrets.SecretClient;
import com.microsoft.graph.authentication.TokenCredentialAuthProvider;
import com.microsoft.graph.exceptions.AuthenticationException;
import com.microsoft.graph.httpcore.HttpClients;
import okhttp3.*;

import java.io.IOException;
import java.util.Arrays;
import java.util.List;


public class deviceCodeFlowMain {

    public static void main(String[] args) throws AuthenticationException {
        deviceCodeFlow();
    }

    public static void deviceCodeFlow() throws AuthenticationException {

        List<String> scopes = Arrays.asList("user.ReadBasic.All", "User.Read");

        DeviceCodeCredential deviceCodeCred = new DeviceCodeCredentialBuilder()
                .clientId("cfb5d84c-c88f-466c-81fb-0fe9fa8da052")
                .challengeConsumer(challenge -> {System.out.println(challenge.getMessage());})<commit_msg>removed uneccessary import statement<commit_after>import com.azure.identity.DeviceCodeCredential;
import com.azure.identity.DeviceCodeCredentialBuilder;
import com.microsoft.graph.authentication.TokenCredentialAuthProvider;
import com.microsoft.graph.exceptions.AuthenticationException;
import com.microsoft.graph.httpcore.HttpClients;
import okhttp3.*;

import java.io.IOException;
import java.util.Arrays;
import java.util.List;


public class deviceCodeFlowMain {

    public static void main(String[] args) throws AuthenticationException {
        deviceCodeFlow();
    }

    public static void deviceCodeFlow() throws AuthenticationException {

        List<String> scopes = Arrays.asList("user.ReadBasic.All", "User.Read");

        DeviceCodeCredential deviceCodeCred = new DeviceCodeCredentialBuilder()
                .clientId("cfb5d84c-c88f-466c-81fb-0fe9fa8da052")
                .challengeConsumer(challenge -> {System.out.println(challenge.getMessage());})
{'fraction_non_alphanumeric': 0.09706774519716886, 'fraction_numerical': 0.017189079878665317, 'mean_word_length': 4.769679300291545, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2891118', 'n_tokens_mistral': 579, 'n_tokens_neox': 536, 'n_words': 96}