Class DefaultCredentialCatalog

Inheritance
System.Object
DefaultCredentialCatalog
Implements
Reveal.Sdk.Data.ICredentialCatalog
Reveal.Sdk.Data.ICredentialResolver
Namespace: Reveal.Sdk
Assembly: Infragistics.Reveal.SDK.WebAPI.dll
Syntax
public class DefaultCredentialCatalog : Object

Constructors

DefaultCredentialCatalog(ICredentialResolver)

Declaration
public DefaultCredentialCatalog(ICredentialResolver credentialsResolver)
Parameters
Type Name Description
Reveal.Sdk.Data.ICredentialResolver credentialsResolver

Methods

AddCredentialAsync(Credential, IRequestContext)

Declaration
public Task<string> AddCredentialAsync(Credential credentials, IRequestContext requestContext)
Parameters
Type Name Description
Reveal.Sdk.Data.Credential credentials
Reveal.Sdk.IRequestContext requestContext
Returns
Type Description
System.Threading.Tasks.Task<System.String>

AssociateAsync(String, String, IRequestContext)

Declaration
public Task AssociateAsync(string credentialsId, string dataSourceId, IRequestContext requestContext)
Parameters
Type Name Description
System.String credentialsId
System.String dataSourceId
Reveal.Sdk.IRequestContext requestContext
Returns
Type Description
System.Threading.Tasks.Task

GetCredentialAsync(String, IRequestContext)

Declaration
public Task<Credential> GetCredentialAsync(string credentialsId, IRequestContext requestContext)
Parameters
Type Name Description
System.String credentialsId
Reveal.Sdk.IRequestContext requestContext
Returns
Type Description
System.Threading.Tasks.Task<Reveal.Sdk.Data.Credential>

GetCredentialForDataSourceIdAsync(String, IRequestContext)

Declaration
public Task<Credential> GetCredentialForDataSourceIdAsync(string dataSourceId, IRequestContext requestContext)
Parameters
Type Name Description
System.String dataSourceId
Reveal.Sdk.IRequestContext requestContext
Returns
Type Description
System.Threading.Tasks.Task<Reveal.Sdk.Data.Credential>

GetCredentialsAvailableForSelectionAsync(IRequestContext)

Declaration
public Task<IEnumerable<Credential>> GetCredentialsAvailableForSelectionAsync(IRequestContext requestContext)
Parameters
Type Name Description
Reveal.Sdk.IRequestContext requestContext
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Reveal.Sdk.Data.Credential>>

MissingCatalog()

Declaration
public static DefaultCredentialCatalog MissingCatalog()
Returns
Type Description
DefaultCredentialCatalog

RemoveCredentialAsync(String, IRequestContext)

Declaration
public Task RemoveCredentialAsync(string id, IRequestContext requestContext)
Parameters
Type Name Description
System.String id
Reveal.Sdk.IRequestContext requestContext
Returns
Type Description
System.Threading.Tasks.Task

UpdateCredentialAsync(Credential, IRequestContext)

Declaration
public Task UpdateCredentialAsync(Credential credentials, IRequestContext requestContext)
Parameters
Type Name Description
Reveal.Sdk.Data.Credential credentials
Reveal.Sdk.IRequestContext requestContext
Returns
Type Description
System.Threading.Tasks.Task

Implements

Reveal.Sdk.Data.ICredentialCatalog
Reveal.Sdk.Data.ICredentialResolver