<commit_before><h1>OAuth</h1>

<p>Demonstrates how to use the OAuth 2.0 protocol for authentication into the ArcGIS platform. Once authenticated the sample displays the user's profile.</p>

<h2>How to use the sample</h2>

<p>Enter the details of the application registered in ArcGIS platform. Click on sign-in.
This will allow the ArcGIS platform to prompt a sign-in dialog. After the credentials are entered correctly, the sample
will receive an authorization code from the ArcGIS platform. This authorization code will then be used to obtain an
access token. This access token is used later to access user's profile.</p>

<p><img src="OAuth.png"/></p><commit_msg>moved image in readme<commit_after><h1>OAuth</h1>

<p>Demonstrates how to use the OAuth 2.0 protocol for authentication into the ArcGIS platform. Once authenticated the sample displays the user's profile.</p>

<p><img src="OAuth.png"/></p>

<h2>How to use the sample</h2>

<p>Enter the details of the application registered in ArcGIS platform. Click on sign-in.
This will allow the ArcGIS platform to prompt a sign-in dialog. After the credentials are entered correctly, the sample
will receive an authorization code from the ArcGIS platform. This authorization code will then be used to obtain an
access token. This access token is used later to access user's profile.</p>
{'fraction_non_alphanumeric': 0.07324364723467862, 'fraction_numerical': 0.008968609865470852, 'mean_word_length': 4.771551724137931, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '3134631', 'n_tokens_mistral': 377, 'n_tokens_neox': 354, 'n_words': 188}