Package io.revealbi.core.data
Interface IRVAuthenticationProvider
public interface IRVAuthenticationProvider
The interface that must be implemented and provided to the Reveal server. It returns credentials to be used when getting data from a given data source.
-
Method Summary
Modifier and TypeMethodDescriptionresolveCredentials(IRVUserContext userContext, RVDashboardDataSource dataSource) Returns the credentials to use for this data source,nullmeans there are no credentials associated and the data loading process will fail.
-
Method Details
-
resolveCredentials
IRVDataSourceCredential resolveCredentials(IRVUserContext userContext, RVDashboardDataSource dataSource) Returns the credentials to use for this data source,nullmeans there are no credentials associated and the data loading process will fail.- Parameters:
userContext- The user details credentials are being returned fordataSource- The data source to return credentials for- Returns:
- The credentials to use for this data source
-