getAccount

suspend fun getAccount(webId: String): SolidSignInAccount?

Returns the SolidSignInAccount this app holds for webId, carrying the grant the user approved, or null when the app holds no grant for that account.

Throws

if the host app is not installed.

if the IPC service cannot be reached.

if no account is signed in to the host app.