<commit_before># React Twitter Login

> A React Twitter oAUth Sign-in / Log-in Component for React

![License](https://img.shields.io/badge/license-MIT-blue.svg)

## Installation

`npm install react-twitter-auth`

## Usage

```jsx harmony
<TwitterLogin loginUrl="http://localhost:4000/api/v1/auth/twitter" 
              onFailure={this.onFailed} onSuccess={this.onSuccess} 
              requestTokenUrl="http://localhost:4000/api/v1/auth/twitter/reverse"/>
```
## Options

* `tag` - tag that should be used to create element that will be used as loging element
* `text` - text that will be shown in component
* `loginUrl` - URL that will be used to finish 3rd step of process
* `requestTokenUrl` - URL that will be used to get request token
* `onFailure` - function that will be called if user cannot be authenticated
* `onSuccess` - function that will be called if user is successfully authenticated
* `disabled` - disable component
* `style` - style object
* `className` - class name for component
* `dialogWidth` - dialog width
* `dialogHeight` - dialog height

# Examples

Full example can be found in [example](https://github.com/GenFirst/react-twitter-login/tree/master/example) folder.

# License

passport-bitbucket-token is released under [MIT License](https://opensource.org/licenses/MIT).<commit_msg>Fix name of application in readme file and add some badges<commit_after>[![NPM](https://nodei.co/npm/react-twitter-auth.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/react-twitter-auth/)
[![Code Climate](https://codeclimate.com/github/GenFirst/react-twitter-login/badges/gpa.svg)](https://codeclimate.com/github/GenFirst/react-twitter-login)
[![npm version](https://badge.fury.io/js/react-twitter-auth.svg)](https://badge.fury.io/js/react-twitter-auth)
![License](https://img.shields.io/badge/license-MIT-blue.svg)

# React Twitter Authentication Component

> A React Twitter oAUth Sign-in / Log-in Component for React

## Installation

`npm install react-twitter-auth`

## Usage

```jsx harmony
<TwitterLogin loginUrl="http://localhost:4000/api/v1/auth/twitter" 
              onFailure={this.onFailed} onSuccess={this.onSuccess} 
              requestTokenUrl="http://localhost:4000/api/v1/auth/twitter/reverse"/>
```
## Options

* `tag` - tag that should be used to create element that will be used as loging element
* `text` - text that will be shown in component
* `loginUrl` - URL that will be used to finish 3rd step of process
* `requestTokenUrl` - URL that will be used to get request token
* `onFailure` - function that will be called if user cannot be authenticated
* `onSuccess` - function that will be called if user is successfully authenticated
* `disabled` - disable component
* `style` - style object
* `className` - class name for component
* `dialogWidth` - dialog width
* `dialogHeight` - dialog height

# Examples

Full example can be found in [example](https://github.com/GenFirst/react-twitter-login/tree/master/example) folder.

# License

react-twitter-auth is released under [MIT License](https://opensource.org/licenses/MIT).
{'fraction_non_alphanumeric': 0.12524271844660195, 'fraction_numerical': 0.007119741100323625, 'mean_word_length': 4.283760683760684, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4564556', 'n_tokens_mistral': 945, 'n_tokens_neox': 901, 'n_words': 272}