Class BulkApiAuthenticationConfigurationsCache
Default IDestinationAuthenticationConfigurationsCache implementation
Namespace: Tableau.Migration.Engine.Endpoints.Search
Assembly: Tableau.Migration.dll
Syntax
public class BulkApiAuthenticationConfigurationsCache : IDestinationAuthenticationConfigurationsCache
Constructors
BulkApiAuthenticationConfigurationsCache(IDestinationEndpoint)
Creates a new BulkApiAuthenticationConfigurationsCache object.
Declaration
public BulkApiAuthenticationConfigurationsCache(IDestinationEndpoint endpoint)
Parameters
Type | Name | Description |
---|---|---|
IDestinationEndpoint | endpoint | The destination endpoint. |
Methods
GetAllAsync(CancellationToken)
Gets the list of authentication configurations on the destination site, populating the cache if necessary.
Declaration
public Task<IImmutableList<IAuthenticationConfiguration>> GetAllAsync(CancellationToken cancel)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancel | The cancellation token to obey. |
Returns
Type | Description |
---|---|
Task<IImmutableList<IAuthenticationConfiguration>> | The authentication configurations, or an empty list if the site does not support multiple authentication configurations. |