CredentialsPrompterLoopPromptFunc


Description:

[ CCode ( instance_pos = 4.9 ) ]
public delegate bool CredentialsPrompterLoopPromptFunc (CredentialsPrompter prompter, Source source, NamedParameters credentials, out bool out_authenticated, Cancellable? cancellable = null) throws Error

Parameters:

prompter

an CredentialsPrompter

source

an Source, as passed to loop_prompt_sync

credentials

an NamedParameters with provided credentials

out_authenticated

set to true, when the authentication was successful

cancellable

a Cancellable, as passed to loop_prompt_sync

user_data

user data, as passed to loop_prompt_sync

Returns:

true to continue the loop (reprompt credentials), unless authenticated is also set to true, or false on error, as an indication that the loop should be terminated.


Namespace: E