Asks the this to prompt for credentials, which are returned to the caller through callback
, when available.
The flags are ignored, when the callback is null; the credentials are passed
to the source with invoke_authenticate
directly, in this case. Call prompt.end in callback to get to the provided credentials.
| this | |
| source |
an Source, which prompt the credentials for |
| error_text |
Additional error text to show to a user, or null |
| flags |
a bit-or of CredentialsPrompterPromptFlags |
| callback |
a callback to call when the credentials are ready, or null |
| user_data |
user data passed into |