PMA.UI Documentation by Pathomation

AutoLogin

AutoLogin

Authenticates against a PMA.core server without user interaction. Upon creation, the instance will register itself automatically as an authentication provider for the given context.

Constructor

new AutoLogin(context, serverCredentials)

Source:
Tutorials:
  • Tutorial: 03-gallery
Parameters:
Name Type Description
context Context
serverCredentials Array.<AutoLogin~serverCredentials> Array of PMA.core server credentials this authentication provider can manage.

Classes

AutoLogin

Methods

authenticate(serverUrl, successopt, failureopt) → {boolean}

Source:
Authenticates against a PMA.core server. This method is usually invoked by the context itself and should rarely be used outside it.
Parameters:
Name Type Attributes Description
serverUrl string The URL of the PMA.core server to authenticate against
success function <optional>
failure function <optional>
Returns:
True or false depending on whether this instance has enough information to authenticate against this PMA.core server
Type
boolean

Type Definitions

serverCredentials

Source:
Properties:
Name Type Description
serverUrl string
username string
password string
Holds information required to perform an automatic login against a PMA.core server
Type:
  • Object