The relevant credentials are passed to your DataSource.Connection class.
The following are the values of the DataSource.IdentityType enum.
Value | Description |
---|---|
ANONYMOUS | No credentials are used to authenticate to the external system. |
NAMED_USER | The credentials in the external data source definition are used to authenticate to the external system, regardless of which user is accessing the external data from your organization. |
PER_USER | For queries and searches, the
credentials are specific to the current user who invokes the
query or search. The credentials come from the user’s
authentication settings for the external system. For administrative connections, such as syncing the external system’s schema, the credentials come from the external data source definition. |