Table of Contents

Interface IDaprIdProvider

Namespace
GroupeIsa.Neos.Shared.MultiTenant
Assembly
GroupeIsa.Neos.Shared.dll

Provides the functionalities of a Dapr ID provider.

public interface IDaprIdProvider

Methods

GetDaprIdAsync(string, string?, string?, NeosServiceType, CancellationToken)

Gets the Dapr ID asynchronously.

Task<string> GetDaprIdAsync(string clusterName, string? tenantIdentifier = null, string? targetedVersion = null, NeosServiceType serviceType = NeosServiceType.BackEnd, CancellationToken cancellationToken = default)

Parameters

clusterName string

The name of the cluster.

tenantIdentifier string

The identifier of the tenant (optional).

targetedVersion string

The targeted version (optional).

serviceType NeosServiceType

The service type.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<string>

The Dapr ID.