Creating a User

A Kii Cloud user (a KiiUser object) represents an end user of a mobile app.

A user manipulates various data in a mobile app on their device such as a smartphone. It is appropriate to save most of such data in association with the user, not the device (though such data can be saved in a different bucket per device).

If you use the Thing SDK for your IoT solution, a thing becomes available by associating it with a user who is the thing owner.

The following three methods are available to identify the users registered to Kii Cloud.

  • Authenticating with the username and the password

    A user signs up with a username and a password and logs in with those credentials.

    You can request an email address and/or a phone number instead of a username, or a combination of them.

  • Using a pseudo user

    The pseudo user feature allows end users to access Kii Cloud without explicit login.

    When the API to create a pseudo user is called, Kii Cloud creates a user account and issues an access token for the user account. By keeping the access token on a mobile app, the end user can access the user account on Kii Cloud. Pseudo user accounts cannot be logged in.

    If the end user needs to change their device, you can let them log in from a new device. To do so, have the end user register a username and a password or link the pseudo user with an external service account.

  • Authenticating with an external service account

    Kii Cloud can identify end users with account information of various web services including Facebook and Twitter instead of credentials specific to Kii Cloud. Identified accounts of such web services can be used as Kii Cloud user accounts. External services perform authentication based on OAuth.

    For providing services in China, some of the Kii Cloud SDKs support authentication with accounts of Renren (人人網), Sina Weibo (新浪微博), and QQ.

These identification options of Kii Cloud reduce barriers for end users to sign up for your mobile app.
Especially, using pseudo users or external service accounts would be effective for end users who want to avoid user registration for every mobile app.


Learn more...

  • For more information about user registration and pseudo users, see "Registering and Logging in a User" (Android, iOS, JavaScript, REST).
  • For more information about authenticating with an external service account and the supported external services per platform, see "Authenticating with an External Service Account" (Android, iOS, JavaScript, REST).