android-components / mozilla.components.concept.engine.prompt / PromptRequest / LoginPrompt

LoginPrompt

data class LoginPrompt : PromptRequest, Dismissible (source)

Value type that represents a request for an login prompt.

Constructors

Name Summary
<init> LoginPrompt(hint: Int, logins: List<Login>, onDismiss: () -> Unit, onConfirm: (Login) -> Unit)
Value type that represents a request for an login prompt.

Properties

Name Summary
hint val hint: Int
a value that helps to determine the appropriate prompting behavior.
logins val logins: List<Login>
a list of logins that are associated with the current domain.
onConfirm val onConfirm: (Login) -> Unit
callback that is called when the user wants to save the login.
onDismiss val onDismiss: () -> Unit
callback to let the page know the user dismissed the dialog.