Sha256: 98d705d806ca1bc8372c0f1e214b3235d8cf7d3bae672b21a0dde393b4a4ed41

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

# OmniAuth Aleph
[![Build Status](https://api.travis-ci.org/scotdalton/omniauth-aleph.png?branch=master)](https://travis-ci.org/scotdalton/omniauth-aleph)
[![Dependency Status](https://gemnasium.com/scotdalton/omniauth-aleph.png)](https://gemnasium.com/scotdalton/omniauth-aleph)
[![Code Climate](https://codeclimate.com/github/scotdalton/omniauth-aleph.png)](https://codeclimate.com/github/scotdalton/omniauth-aleph)
[![Coverage Status](https://coveralls.io/repos/scotdalton/omniauth-aleph/badge.png?branch=master)](https://coveralls.io/r/scotdalton/omniauth-aleph)

Aleph patron login strategy for OmniAuth.

## Installation
Add to your Gemfile:

    gem 'omniauth-aleph'

Then `bundle install`.

## Usage
`OmniAuth::Strategies::Aleph` simply makes a call to the Aleph bor_auth X-Service and
returns the attributes from the returned XML.

Use the Aleph strategy as a middleware in your application:

    use OmniAuth::Strategies::Aleph, title: 'My Library's Aleph', 
      host: 'aleph.library.edu', port: 80, library: 'ADM50', sub_library: 'SUB'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-aleph-0.1.0 README.md