WebView

interface WebView : LoginClient

Interface when the login requires a webview.

The extension should provide the webViewRequest

See also

Properties

Link copied to clipboard

The request to be made to the webview, should return a list of users.

Functions

Link copied to clipboard
abstract suspend fun getCurrentUser(): User?

To be called when any other extension needs the current user. Be sure to remove any sensitive data.

Link copied to clipboard
abstract fun setLoginUser(user: User?)

Called when the extension starts or when the user changes. null if no user is logged in (can also be Incognito mode)