Open d-koppenhagen opened 9 years ago
agree with this separation.
Just as additional background info: Special coding effort was done in "createIdentities" to work "atomic", i.e. to call the given callbacks only then, when ALL identities where created, though it uses the asynchronous "createIdentity" internally. This behavior of "createIdentities" must be preserved, because the calling code pieces will rely on it.
to
-Field in every function is currently of type [Array]
to
-field has type [Array]
or String
outsource
createIdentities
function which is used for more then one Identity: https://github.com/hftl-ims-research/wonder/blob/wondergui/src/libs/Idp.js#L118-L153Use
createIdentity
function instead (two times for local and remote Idp). https://github.com/hftl-ims-research/wonder/blob/wondergui/src/libs/Idp.js#L156-L306