OBP-API
OBP-API copied to clipboard
Add Resource UserAuthContext
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.
State:
-
[x] Write GET endpoint
-
[x] Write POST endpoint
-
[ ] Write DELETE endpoint
-
[ ] Write tests
-
[x] separate by AKKA