Credential Data Type

This model is intended to be used to perform a login.
The deviceId is not mandatory but if used will allow a device to be associated to an user account
For social network login check SocialNetworkCredential

name data type constraints description
username string required
password string required
deviceId string  
publicKey string  
deviceName string  


  "username" : "...",
  "password" : "...",
  "deviceId" : "...",
  "publicKey" : "...",
  "deviceName" : "..."