The AuthenticationController gives you ways to authenticate yourself against the backend to perform any kind of action.
The AuthenticationController does not handle login! For that use the UserManager login()
function.
At the moment the AuthenticationController
gives you a Flow of QrCode that let you open doors.
authenticationController.getQrCodes().collect { qrCode: QrCode ->
// display QrCode
}
Our SDK is Kotlin and Coroutines first. So the main API will offer suspend
functions or return Flow
. We also provide support functions that uses Callback API or LiveData in case you can not use Coroutines (or even Kotlin).