Go library for interacting with Atlassian Crowd
client, err := crowd.New("crowd_app_user",
"crowd_app_password",
"crowd service URL")
user, err := client.Authenticate("testuser", "testpass")
if err != nil {
/*
failure or reject from crowd. check if err = reason from
https://developer.atlassian.com/display/CROWDDEV/Using+the+Crowd+REST+APIs#UsingtheCrowdRESTAPIs-HTTPResponseCodesandErrorResponses
*/
}
// if auth successful, user contains user information
Version | Tag | Published |
---|---|---|
v0.0.0-20151031154603-ce747c719e95 | 2yrs ago | |
v0.0.0-20180225080536-9c6f17811dc6 | 3yrs ago |