prompt


Description:

public async bool prompt (Source source, string? error_text, CredentialsPrompterPromptFlags flags, out Source? out_source, out NamedParameters? out_credentials) throws Error

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.

Parameters:

this

an CredentialsPrompter

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 callback