requestLogin

fun requestLogin(callBack: (String?, SolidException?) -> Unit)

Deprecated

No longer functional — it always fails. Launch AuthorizeWithSolid from your Activity instead: the picker opens in your own foreground and returns the chosen WebID as an activity result.

No longer shows a picker. callBack always receives (null, SolidServicesDrawPermissionDeniedException).

The picker used to be drawn over your app from a background service, which Android allows only with the overlay permission. Android Solid Services no longer requests that permission, so there is no way for this call to present anything. Launch the AuthorizeWithSolid contract from your Activity instead: the same picker opens in your own foreground and the chosen WebID comes back as an activity result.

Throws

if the ASS app is not installed, not connected, or no user is logged in.