<commit_before>xdi2-oauth2
===========

Dynamic provisioning of XDI link contracts via OAuth 2.0<commit_msg>updated URL<commit_after><a href="http://projectdanube.org/" target="_blank"><img src="http://peacekeeper.github.com/xdi2/images/projectdanube_logo.png" align="right"></a>
<img src="http://peacekeeper.github.com/xdi2/images/logo64.png"><br>

This is a pluging for the [XDI2](http://github.com/projectdanube/xdi2) server that makes it possible to dynamically provision XDI link contracts via [OAuth 2.0](http://oauth.net/2/).

This is work in progress. 

### Information

* Scopes {TODO}
* Tokens {TODO}
* Example Flow {TODO}

### How to build

First, you need to build the main [XDI2](http://github.com/projectdanube/xdi2) project.

After that, just run

    mvn clean install

To build all components.

### How to run

    mvn jetty:run

Then access the web interface at

	http://localhost:9120/

Or access the server's status page at

	http://localhost:9120/xdi

Or use an XDI client to send XDI messages to

    http://localhost:9120/xdi/oauth2

### How to build as XDI2 plugin

Run

    mvn clean install package -P xdi2-plugin

### Community

Google Group: http://groups.google.com/group/xdi2
{'fraction_non_alphanumeric': 0.13029045643153528, 'fraction_numerical': 0.025726141078838173, 'mean_word_length': 4.153846153846154, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '3120695', 'n_tokens_mistral': 424, 'n_tokens_neox': 399, 'n_words': 122}