Header menu logo fable-electron-docs-api

IOnLogin Type

Emitted when webContents or Utility process wants to do basic auth.The default behavior is to cancel all authentications. To override this you should prevent the default behavior with event.preventDefault() and call callback(username, password) with the credentials.If callback is called without a username or password, the authentication request will be cancelled and the authentication error will be returned to the page.

Instance members

Instance member Description

this.authInfo

Full Usage: this.authInfo

Modifiers: abstract

this.authenticationResponseDetails

Full Usage: this.authenticationResponseDetails

Modifiers: abstract

this.callback (arg1, arg1)

Full Usage: this.callback (arg1, arg1)

Parameters:
Returns: Option<string>
Modifiers: abstract
arg0 : Option<string>
Returns: Option<string>

this.event

Full Usage: this.event

Modifiers: abstract

this.webContents

Full Usage: this.webContents

Modifiers: abstract

Type something to start searching.