Interface IRVAuthenticationProvider

  • All Known Subinterfaces:
    IRVAuthenticationResolver

    public interface IRVAuthenticationProvider
    The interface that must be implemented and passed to Reveal Engine initialization, that returns credentials to be used when getting data from a given data source.
    • Method Detail

      • resolveCredentials

        IRVDataSourceCredential resolveCredentials​(IRVUserContext userContext,
                                                   RVDashboardDataSource dataSource)
        Returns the credentials to use for this data source, null means there are no credentials associated and the data loading process will fail.
        Parameters:
        userContext - The user details credentials are being returned for, as returned by IRVUserContextProvider implementation.
        dataSource - The data source to return credentials for.
        Returns:
        The credentials to use for this data source.