requestToken

Requests a token for the registration alias.

Return

a registration token

Parameters

username

a username

password

a password

Throws

if either username or password is blank

if device alias does not exist or username or password is not correct

if the node does not exist

on server error