Index

Classes

Class

Methods

Class Idp


Defined in: wonder_full.js.

Class Detail
Idp(rtcIdentity, options)

The Idp is a singleton object, there will always be just one instance of it, no matter how often the constructor is called.

Parameters:
rtcIdentity
options
Method Detail
checkForIdentity(rtcIdentity)
Parameters:
rtcIdentity
createIdentities(rtcIdentities, onSuccessCallback, onErrorCallback)

This method takes either a single rtcIdentity or an array of rtcIdentities and creates Identity objects from them. The successfully created Identities are then returned in an Array in the success callback. If one or more rtcIdentities can't be created then the returned array is shorter than the given array.

Parameters:
rtcIdentities
onSuccessCallback
onErrorCallback
createIdentity(rtcIdentity, onSuccessCallback, onErrorCallback)
Parameters:
rtcIdentity
onSuccessCallback
onErrorCallback
getIdentity(messageAddress)
Parameters:
messageAddress
<static>
Idp.getInstance(rtcIdentity, options)

This is a getter for an already created instance of the IDP. The params are optional. In case there was no instance already created before, the params can also be given here and will then be used for initial creation of the object.

Parameters:
rtcIdentity
options
getResolvedStub(downloadUri)
Parameters:
downloadUri

Documentation generated by JsDoc Toolkit 2.4.0 on Fri May 30 2014 17:47:13 GMT+0100 (BST)