connect

fun connect(authentication: Authentication, context: Context)

Connects a new session.

Parameters

authentication

Type of authentication. It may be one of the values explained below.

  • Basic: Authentication using user and password.

  • Token: Authentication using a token and its provider.

context

Application or activity context.