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.

These identification options of Kii Cloud reduce barriers for end users to sign up for your mobile app.
Using pseudo users 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).