1.0.4 • Published 6 years ago

@evolvus/e-authorization v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

e-authorization

This service uses evolvus-user module to authorize userName.

API

Authorization API


Method :'POST' Request URL : 'http://localhost:8088/api/user/authorize' Content-Type:'application/json' Request Body: { "userName":"name", "applicationCode":"code" }

Token Update API


Method :'POST' Request URL : 'http://localhost:8088/api/user/updateToken' Content-Type:'application/json' Request Body: { "id":"userid", "token":"" }

Authorization API for IndusCollect


Method: 'POST' Request URL: 'http://localhost:8088/api/user/authorize' Content-Type:'application/json' Request Body: { "userId":"name", "corporateId":"code", "role":"code", }