Sha256: 5f0034a93a2cdf652e30946c7e33d1aa9af53c87bf446e2aeb46d1a07d8e71f9

Contents?: true

Size: 1.22 KB

Versions: 2

Compression:

Stored size: 1.22 KB

Contents

# Vidibus::User [![Build Status](https://travis-ci.org/vidibus/vidibus-user.png)](https://travis-ci.org/vidibus/vidibus-user) [![Code Climate](https://codeclimate.com/github/vidibus/vidibus-user.png)](https://codeclimate.com/github/vidibus/vidibus-user)

Provides single sign-on through OAuth2 authentication. It adds a simple user model to your application which can be extended easily.

This gem is part of [Vidibus](http://vidibus.org), an open source toolset for building distributed (video) applications.


## Installation

Add `gem 'vidibus-service'` to your Gemfile. Then call `bundle install` on your console.


## Obtaining user data

After authorization via OAuth2 this gem requests user data from the providing service. It expects `GET /oauth/user` to return JSON data. The dataset must at least include the user's UUID.

The [Vidibus::Oauth2Server](https://github.com/vidibus/vidibus-oauth2_server) gem will provide a controller for this task.


## Dependencies

In order to perform authentication, this gem depends on services provided by the [Vidibus::Service](https://github.com/vidibus/vidibus-service) gem.


## TODO

Explain usage and integration.


## Copyright

Copyright (c) 2010-2013 Andre Pankratz. See LICENSE for details.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vidibus-user-1.0.1 README.md
vidibus-user-1.0.0 README.md