Repository is archived
No commit activity in last 3 years
No release in over 3 years
parse opentoken properties passed for Single Signon requests
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

= 0.9.2
= 2.11.3
= 0.3.5

Runtime

~> 2.3.14
>= 0
 Project Readme

opentoken

Parse encrypted opentoken properties

see http://www.pingidentity.com/opentoken

Usage

# configure decryption with shared key
OpenToken.password = 'shared_secret_to_decrypt'

# decrypt opentoken into hash of attributes
attributes = OpenToken.decode 'opentoken-hashed-string'

# encrypt opentoken from hash of attributes
attributes = { 'subject' => 'foo', 'bar' => 'bak' }
token = OpenToken.encode attributes, OpenToken::Cipher::AES_128_CBC

Contributing

  • Fork the project
  • Fix the issue
  • Add tests
  • Send me a pull request. Bonus points for topic branches.

see CONTRIBUTORS.txt for complete list of contributors.

Copyright

Copyright (c) 2011 Socialcast Inc. See LICENSE.txt for details.