Sha256: 7e6fe44ac33c2002ffeb46567938c8269305bbdd66fd762a2f2d36a029434a7b

Contents?: true

Size: 985 Bytes

Versions: 1

Compression:

Stored size: 985 Bytes

Contents

# ELS Token

A simple library for interfacing with forgeRock OpenAM REST Interface.


## Usage

ElsToken can be mixed into a class/module and/or used directly.


__authenticate, validate and extract__

    # The ELS end point
    opts = {'uri' => 'https://els-sso.corp.aol.com/opensso/identity'}

    # Generate a token
    token = ElsToken.authenticate('username','password', opts)

    # Determine if token is valid
    is_valid = ElsToken.is_token_valid?(token, opts)

    # Retrieve an Identity Object (includes group membership, etc)
    ad_user = ElsToken.get_identity(token, opts)

## change log

1.2.3
  Fixed Ruby 2.0.0 compatibility

1.2.2
  Removed Rails logger dependency
  Added a couple of extra attributes to the ELS Identity Object

1.2.0
  Removed Rails dependency. 
  Cleaned up instructions - getting ready to bare all :)

1.0.1
  Removed AOLMemberCA certificate as it was mostly pointless
  SSL without verification is used as default


1.0.0
  Initial release :)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
els_token-1.2.4 README.md