Create Device Onboarding Token
This use case is deprecated and will be removed in the next major version. Please use the use case Fill Device onboarding Token with new Device instead.
This use case retrieves the Token of a not yet onboarded Device that corresponds to the given Device id in order to onboard the Device to the Identity.
Parameters
idof the Device.expiresAtis the ISODateTime the Token expires at.passwordProtectioncan be specified as an object for PasswordProtection of a Token. If set, only the Identities that know the password specified within thepasswordProtection.passwordproperty of the Token can load it from the Backbone. In addition, the optional propertypasswordProtection.passwordIsPincan be used to configure the UI of the App in case the password is a pin.
On Success
- Returns the Token of the Device to onboard.
On Failure
- The Device was already onboarded.
- In case of password protection of the Token, a
passwordProtection.passwordthat does not consist of 4 to 16 digits was specified, but the value ofpasswordProtection.passwordIsPinwas nevertheless set totrue.