<PackageReference Include="Relativity.Transfer.Client" Version="6.2.4" />

ICredentialService

public interface ICredentialService
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; namespace Relativity.Transfer { public interface ICredentialService { RelativityConnectionInfo ConnectionInfo { get; } int MaxRetryAttempts { get; set; } double TimeoutSeconds { get; set; } [SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Justification = "This is OK")] [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification = "This uses a REST API and isn't treated as a simple property.")] Task<IEnumerable<Credential>> GetCredentialsAsync(CancellationToken token); [SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Justification = "This is OK")] [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification = "This uses a REST API and isn't treated as a simple property.")] Task<IEnumerable<Credential>> GetCredentialsAsync(string condition, CancellationToken token); Task<AsperaCredentials> GetResourceServerAsperaCredentialsAsync(int resourceServerArtifactId, CancellationToken token); } }