interface LoginOptions {
    autoFocus?: boolean;
    beforeShow?: (
        options: LoginOptions & MDCAlertControlerOptions,
        usernameTextField: TextField,
        passwordTextField: TextField,
    ) => void;
    passwordHint?: string;
    passwordTextFieldProperties?: TextFieldProperties;
    userNameHint?: string;
    usernameTextFieldProperties?: TextFieldProperties;
}

Hierarchy

  • LoginOptions
    • LoginOptions

Properties

autoFocus?: boolean
beforeShow?: (
    options: LoginOptions & MDCAlertControlerOptions,
    usernameTextField: TextField,
    passwordTextField: TextField,
) => void

Optional function to choose if you can validate or not

passwordHint?: string

Gets or sets the default text to display as hint in the password input box.

passwordTextFieldProperties?: TextFieldProperties

Optional object to set any property to the username textfield!

userNameHint?: string

Gets or sets the default text to display as hint in the user name input box.

usernameTextFieldProperties?: TextFieldProperties

Optional object to set any property to the username textfield!