Flags

Details

class EDataServerUI.CredentialsPrompterPromptFlags(value)

Bases: GLib.Flags

An EDataServerUI.CredentialsPrompter prompt flags, influencing behaviour of the EDataServerUI.CredentialsPrompter.prompt().

New in version 3.16.

NONE = 0

No flag is set.

ALLOW_SOURCE_SAVE = 1

If set, any source changes during the credentials prompts, like the “remember-password” or user name changes, will be automatically stored in the source (written on the disk).

ALLOW_STORED_CREDENTIALS = 2

If set, the stored credentials will be returned first. If there are no credentials saved, then the user will be asked. Any credentials reprompt should not have set this flag.