Skip to main content

IEnvironmentDiscoveryService

  • Namespace: PPDS.Auth.Discovery
  • Assembly: PPDS.Auth
  • Kind: Interface

Summary​

Common interface for services that discover Dataverse environments. Implemented by both Global Discovery Service (delegated user auth) and BAP API (service principal auth).

Members​

Methods​

DiscoverEnvironmentsAsync​

Task<IReadOnlyList<DiscoveredEnvironment>> DiscoverEnvironmentsAsync(CancellationToken cancellationToken)

Discovers all environments accessible to the authenticated principal.

  • Param cancellationToken: Cancellation token.

  • Returns: Collection of discovered environments.