anonymous

fun anonymous(reuseExisting: Boolean = true): Credentials

Creates credentials representing an anonymous user.

Return

a set of credentials that can be used to log into an App Services Application using App.login.

Parameters

reuseExisting

indicates whether anonymous users should be reused. Passing true means that multiple calls to App.login with this function will return the same anonymous user as long as that user hasn't logged out. If reuseExisting is false, calls to App.login will create a new user on the server.