<commit_before># Passport-HTTP-OAuth

HTTP OAuth authentication strategy for [Passport](https://github.com/jaredhanson/passport).

#### Examples

The [example](https://github.com/jaredhanson/oauthorize/tree/master/examples/express2)
included with [OAuthorize](https://github.com/jaredhanson/oauthorize)
demonstrates how to implement a complete OAuth service provider.
`ConsumerStrategy` is used to authenticate clients as they request tokens from
the request token and access token endpoints.  `TokenStrategy` is used to
authenticate users and clients making requests to API endpoints.

## Tests

    $ npm install --dev<commit_msg>Update README.<commit_after># Passport-HTTP-OAuth

HTTP OAuth authentication strategy for [Passport](https://github.com/jaredhanson/passport).

## Examples

The [example](https://github.com/jaredhanson/oauthorize/tree/master/examples/express2)
included with [OAuthorize](https://github.com/jaredhanson/oauthorize)
demonstrates how to implement a complete OAuth service provider.
`ConsumerStrategy` is used to authenticate clients as they request tokens from
the request token and access token endpoints.  `TokenStrategy` is used to
authenticate users and clients making requests to API endpoints.

## Tests

    $ npm install --dev
{'fraction_non_alphanumeric': 0.0894695170229612, 'fraction_numerical': 0.001583531274742676, 'mean_word_length': 5.416243654822335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '6970037', 'n_tokens_mistral': 359, 'n_tokens_neox': 338, 'n_words': 116}