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
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
- Parameters:
- rtcIdentity
- onSuccessCallback
- onErrorCallback
<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