Table of Contents

Interface IUserStatusProvider

Namespace
Excalibur.A3.Governance.OrphanedAccess
Assembly
Excalibur.A3.Governance.Abstractions.dll

Provides the current status of a principal in the identity system.

public interface IUserStatusProvider

Remarks

Consumers must implement this interface to connect the orphaned access detector to their identity provider (Active Directory, Entra ID, SCIM, HR system, etc.). No default implementation is provided.

Methods

GetStatusAsync(string, CancellationToken)

Gets the current status of the specified principal, including when the status last changed.

Task<PrincipalStatusResult> GetStatusAsync(string principalId, CancellationToken cancellationToken)

Parameters

principalId string

The unique identifier of the principal.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<PrincipalStatusResult>

A PrincipalStatusResult containing the status and optional change timestamp.