Class: QgsProcessingParameterAuthConfig

class qgis.core.QgsProcessingParameterAuthConfig(name: str, description: str = '', defaultValue: Any = None, optional: bool = False)

Bases: qgis._core.QgsProcessingParameterDefinition

Constructor for QgsProcessingParameterAuthConfig.

QgsProcessingParameterAuthConfig(QgsProcessingParameterAuthConfig)

A string parameter for authentication configuration ID values.

This parameter allows for users to select from available authentication configurations, or create new authentication configurations as required.

QgsProcessingParameterAuthConfig should be evaluated by calling QgsProcessingAlgorithm.parameterAsString()

New in version 3.6: Enums

Methods

asScriptCode

clone

fromScriptCode

Creates a new parameter using the definition from a script code.

type

typeName

Returns the type name for the parameter class.

valueAsPythonString

Signals

Attributes

asScriptCode(self) → str
clone(self) → QgsProcessingParameterDefinition
fromScriptCode(name: str, description: str, isOptional: bool, definition: str) → QgsProcessingParameterAuthConfig

Creates a new parameter using the definition from a script code.

type(self) → str
typeName() → str

Returns the type name for the parameter class.

valueAsPythonString(self, value: Any, context: QgsProcessingContext) → str