desire2learn - Valence API that replaces the older WS UserManagementService -


one of our integrations uses d2lws usermanagementservice convert username userid. receive username, firstname , lastname of student when click through lti request, need numeric userid of other valence api calls.

we reduce our dependency on d2lws before retired, wondering if there equivalent valence api call can used conversion?

there many ways client application fill out understanding of lms user identity's properties. noteworthy remember d2lws platform optimized service-to-service level operational trust, while newer valence platform optimized user-to-service operational trust -- means valence calls must happen in context of some real, authenticated lms user account (in sense in order make calls, client application must first request acquire user id/key pair authenticated user).

if client service contacted or prompted lms lti launch, have enough capacity launch begin (please see detailed topic on combining valence calls lti around our remote plugin service). there should real lms user have initiated launch somehow, logged-in lms session. therefore, after lti launch, service can turn right around , make call lms request user tokens auth'd user , user should lti-launching user.

typically, services contacted lti launch , want use valence, recommend establish user context after launch , make whoami call: can serve multiple purposes -- can establish have dependable set of user tokens can use make valence calls on behalf of launching user, , can use information retrieved in whoamiuser data structure assist in filling out context of user identity.

for particular purposes, whoamiuser data structure contains first name, last name, unique name (user name), , lms profile identifier launching user, lms user identifier (identifier) property can use in context of other valence calls should need to. however, should consider shift user-to-service approach: when calls take place within context of particular user, may discover best route employing "my" routes fill out user experience present user -- keep in mind user's credentials employ valence api calls restrict access functionality , data user restricted in course of or normal interactions lms through web ui.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -