OBP-API icon indicating copy to clipboard operation
OBP-API copied to clipboard

Add Resource UserAuthContext

Open simonredfern opened this issue 6 years ago • 1 comments

Add new model UserAuthContext

userId: String key: String value : String

Add role CanModifyUserAuthContext Add POST , GET for this resource.

example usage:

userId = "qieuriopwoir987203984729384ipeiu" key = "CUSTOMER_NUMBER" value = "78987432"

userId = "qieuriopwoir987203984729384ipeiu" key = "TOKEN" value = "qieuriopwoir987ASYDUFISUYDF678u"

list[AuthContext] will be added to authInfo / callContext for the purpose of identifying the user making the call. This will give us more flexibility when sending requests to the CBS on behalf of the User.

simonredfern avatar Oct 24 '18 10:10 simonredfern

State:

  • [x] Write GET endpoint

  • [x] Write POST endpoint

  • [ ] Write DELETE endpoint

  • [ ] Write tests

  • [x] separate by AKKA

constantine2nd avatar Nov 01 '18 15:11 constantine2nd