AuthenticationConfig class
Bases: Section
Configuration for an authentication protocol.
Attributes:
Name | Type | Description |
---|---|---|
id |
str
|
Unique identifier of the authentication config. It must be a valid Python variable name. |
protocol |
str
|
The name of the protocol to configure ("ldap", "entra_id", "taipy" or "none"). |
secret_key |
Optional[str]
|
A secret string used to internally encrypt the credentials' information. If no value is provided, the first run-time authentication sets the default value to a random text string. |
auth_session_duration |
Optional[int]
|
How long, in seconds, are credentials valid after their creation. The default value is 3600, corresponding to an hour. |
**properties |
dict[str, Any]
|
Additional arguments that depend on the indicated protocol.
|