<commit_before># Laravel 4 Auth token

Hooks into the laravel auth module and provides an auth token upon success. This token is really only secure in https environment. This main purpose for this module was to provide an auth token to javascript web app which could be used to identify users on api calls.

[![Build Status](https://travis-ci.org/tappleby/laravel-auth-token.png?branch=master)](https://travis-ci.org/tappleby/laravel-auth-token)

Upgrading to Laravel 4.1?, see the [breaking changes](#changes) 

## Getting Started

### Setup

Add the package to your `composer.json`

    "require": {
		...
        "tappleby/laravel-auth-token": "0.2.X"
    }

Add the service provider to `app/config/app.php`

	'Tappleby\AuthToken\AuthTokenServiceProvider',
	
Setup the optional aliases in `app/config/app.php`

	'AuthToken' => '<PASSWORD>\Support\Facades\AuthToken',<commit_msg>Use * for wildcard version instead of X<commit_after># Laravel 4 Auth token

Hooks into the laravel auth module and provides an auth token upon success. This token is really only secure in https environment. This main purpose for this module was to provide an auth token to javascript web app which could be used to identify users on api calls.

[![Build Status](https://travis-ci.org/tappleby/laravel-auth-token.png?branch=master)](https://travis-ci.org/tappleby/laravel-auth-token)

Upgrading to Laravel 4.1?, see the [breaking changes](#changes) 

## Getting Started

### Setup

Add the package to your `composer.json`

    "require": {
		...
        "tappleby/laravel-auth-token": "0.2.*"
    }

Add the service provider to `app/config/app.php`

	'Tappleby\AuthToken\AuthTokenServiceProvider',
	
Setup the optional aliases in `app/config/app.php`

	'AuthToken' => 'T<PASSWORD>by\Support\Facades\AuthToken',
{'fraction_non_alphanumeric': 0.11055276381909548, 'fraction_numerical': 0.005583472920156337, 'mean_word_length': 4.179190751445087, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '4903501', 'n_tokens_mistral': 568, 'n_tokens_neox': 551, 'n_words': 185}