external Token Login
Support function to login the user using server-to-server pre-shared authentication token.
This is used when the host app backend registers a token for that user on the Smart Workspaces backend.
Note: The purpose of this function is to support clients that can not use Coroutines or the Kotlin programming language!
Since
1.10.0
Return
Cancelable It is your responsibility to cancel this operation, when no longer needed, to avoid memory leaks.
Parameters
an authentication token
receiving the Result
Support function to login the user using server-to-server pre-shared authentication token.
This is used when the host app backend registers a token for that user on the Smart Workspaces backend.
Note: The purpose of this function is to support clients that can not use Coroutines or the Kotlin programming language!
Since
1.10.0
Return
Cancelable In case you want to cancel before Lifecycle.State.DESTROYED.
Parameters
an authentication token
auto cancel the Cancelable when lifecycle state is Lifecycle.State.DESTROYED.
receiving the Result