authenticateAnonymously

fun authenticateAnonymously(onAuthenticateAnonymouslyListener: OnAuthenticateAnonymouslyListener, handler: Handler = Handler(Looper.getMainLooper()), resource: String? = null, scopes: List<String>? = null)

Authenticate anonymously by generating a dummy user. The dummy user persist until the app is uninstalled.

Parameters

onAuthenticateAnonymouslyListener

The listener.

handler

The handler of the thread on which the listener is called.

resource

Resource indicator (RFC 8707). Defaults to the resource given to configure.

scopes

Scopes of the API Resource given in resource. Defaults to the scopes given to configure. They are merged with the scopes required by the SDK.