Sensorberg Smart Spaces SDK for Android / com.sensorberg.smartworkspace.sdk / UserManager / oAuth2Login

oAuth2Login

abstract fun oAuth2Login(redirectedUri: String): LiveData<SimpleResponse<Void>>

Login the user using OAuth2. This usually happens after a Chrome Custom tab was shown and the user successfully authenticated with the oauth2 provider.

The complete redirectedUri (including URI scheme, host and parameters) will be forwarded to the Smart Workspace backend for authentication.