Project

crowd-auth

0.0
No commit activity in last 3 years
No release in over 3 years
Simple authentication against Atlassian Crowd
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.6.1
 Project Readme

README

How-to

> require 'crowd-auth'

> c = Crowd::Auth.new
> c.crowd_url = "http://your.crowd.url:8095"
> c.crowd_app_name = "app_name"
> c.crowd_app_pass = "app_password"

> resp = c.authenticate('username', 'password')

> puts resp.code
200

Anything but a 200 means authorization failed.

Overload crowd_auth_uri with your crowd's rest url.

By default, that is /crowd/rest/usermanagement/latest/authentication

Thanks

Kastner, as always for the insight and help making things cleaner.