How to ask user for password

i want ask for password input when user click a button

Easy way is to use the notifier text input dialog.

Where will the password come from ?

it will be inside the code