8000 GitHub - Spaideri/screwdriver-idm
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Spaideri/screwdriver-idm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screwdriver-idm

Identity management micro service designed for screwdriver

API

##Authenticate Method for authenticating user

Authenticate Request

Path: /authenticate
Method: HTTP POST
Content-Type: application/json
Body: {"username":"sampleusername","password":"samplepassword"}

Authenticate Success Response

HTTP Status Code: 200
Content-Type: application/json
Response Body: {"token":"<Base64 encoded authentication token>"}

Authenticate Failure Response

HTTP Status Code: 401
Content-Type: application/json

###Validate Method for validating given authentication token

Validate Request

Path: /validate?token=<Base64 encoded authentication token to be validated>
HTTP Method: GET

Validate Success Response

HTTP Status Code: 200
Content-Type: application/json
Response Body: {"valid":true}

Validate Failure Response

HTTP Status Code: 401
Content-Type: application/json
Response Body: {"valid":false}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0