Sha256: 8b61eeface63bc68d85f45da343ba5b03d4938cf452ee7e5ea020356e87fd3ee

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

[![Build Status](https://travis-ci.org/senseobservationsystems/omniauth-sense.png)](https://travis-ci.org/senseobservationsystems/omniauth-sense)

## Usage
First register your application to CommonSense by visiting (OAuth registration page)[1]
You will obtain application KEY and Application Secret

```ruby
use OmniAuth::Builder do
 provider :sense, ENV['APPLICATION_KEY'], ENV['APPLICATION_SECRET']
end
```

## Testing sample
```bash
$ bundle # this will install dependency
$ bundle exec ruby sample sense_oauth.rb
```

it will start a sinatra app running on localhost port 4567

## License

Copyright (c) 2012 Sense Observation Systems B.V.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

[1]: http://api.sense-os.nl/oauth/register_app

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-sense-0.1.1 README.md