<commit_before># The Authentication Package

## Interfaces

### `Authentication\AuthenticationStrategyInterface`

Basic usage:

```
use Joomla\Authentication;

$authentication = new Authentication\Authentication;

$credentialStore = array(
	'jimbob' => 'agdj4345235',		// username and password hash
	'joe' => '<PASSWORD>'		// username and password hash
)

$authentication->addStrategy(new Authentication\Strategies\LocalStrategy($input, ))

$username = $authentication->authenticate();   //  Try all authentication strategies
$username = $authentication->authenticate('local');

if ($username)
{
	// we are authenticated
	// Maybe we put the username in the session
}
```<commit_msg>Fixed readme<commit_after># The Authentication Package

## Interfaces

### `Authentication\AuthenticationStrategyInterface`

Basic usage:

```
use Joomla\Authentication;

$authentication = new Authentication\Authentication;

$credentialStore = array(
	'jimbob' => 'agdj4345235',		// username and password hash
	'joe' => '<PASSWORD>'		// username and password hash
)

$authentication->addStrategy(new Authentication\Strategies\LocalStrategy($input, $credentialStore));

$username = $authentication->authenticate();   //  Try all authentication strategies
$username = $authentication->authenticate('local');   // Try just the one strategy named local

if ($username)
{
	// we are authenticated
	// Maybe we put the username in the session
}
```
{'fraction_non_alphanumeric': 0.12631578947368421, 'fraction_numerical': 0.009824561403508772, 'mean_word_length': 5.423423423423423, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '5667606', 'n_tokens_mistral': 420, 'n_tokens_neox': 399, 'n_words': 109}