You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `SiteAuthConfiguration` class contains the attributes for the authentication configuration on Tableau Cloud. This class represents the authentication configuration information returned when using the `sites.list_authentication_configurations` method.
3443
+
3444
+
**Attributes**
3445
+
3446
+
Attribute | Description
3447
+
:--- | :---
3448
+
`auth_setting` | The authentication type (e.g., SAML, OpenID, TableauIDWithMFA).
3449
+
`enabled` | Boolean value indicating whether the authentication configuration is enabled.
3450
+
`idp_configuration_id` | The unique identifier for the authentication configuration.
3451
+
`idp_configuration_name` | The name of the authentication configuration.
3452
+
`known_provider_alias` | The provider name for the authentication method in case of OpenID configuration.
3453
+
3454
+
**Example**
3455
+
3456
+
```py
3457
+
# import tableauserverclient as TSC
3458
+
# server = TSC.Server('https://MY-SERVER')
3459
+
# sign in, etc.
3460
+
3461
+
# Get authentication configurations for the current site
The TSC library provides methods that operate on sites for Tableau Server and Tableau Cloud. These methods correspond to endpoints or methods for sites in the Tableau REST API.
Lists the authentication configurations for the current site.
3776
+
3777
+
REST API: [List Authentication Configurations for the current Site](https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_site.htm#list_authentication_configurations_site)
3778
+
3779
+
**Returns**
3780
+
3781
+
Returns a list of authentication configurations for the current site.
`name` | The name of the user. This attribute is required when you are creating a `UserItem` instance.
4298
4366
`site_role` | The role the user has on the site. This attribute is required if you are creating a `UserItem` instance. See *User Roles* below for details.
4299
4367
`groups` | The groups that the user belongs to. You must run the populate_groups method to add the groups to the `UserItem`.
4368
+
`idp_configuration_id` | Tableau Cloud only. The authentication method for the user. To find the idp_configuration_id value, use sites.list_authentication_configurations method. **Important: Use idp_configuration_id or auth_setting, but not both.**
0 commit comments