AuthenticatorHostSession

The HostSession over the library's Authenticator.

Constructors

Link copied to clipboard
constructor(authenticator: Authenticator)

Functions

Link copied to clipboard
open suspend override fun awaitReady()

Suspends until the account store has loaded. Cheap once it has.

Link copied to clipboard
open suspend override fun hasLoggedIn(): Boolean

true when at least one account holds a usable session.

Link copied to clipboard
open suspend override fun hasSession(webId: String): Boolean

true when webId is signed in and its session has not expired.

Link copied to clipboard
open suspend override fun profileDocument(webId: String): WebId?

The parsed WebID profile document of webId, or null when it is not signed in.