start

abstract suspend fun start(reset: Boolean, baseUrl: String, accessToken: String, userId: Long, userAgent: String)

User authentication method.

Parameters

reset
  • if true, then performs the stopping procedure at the beginning

baseUrl
  • server domain with which the library works. For example - "https://photos.com/"

accessToken
  • access token for http requests to the server.

userId
  • user profile id for http requests to the server.

userAgent
  • user agent