Table of Contents

Interface IUserContextResolver

Namespace
BytLabs.Application.UserContext.Resolvers
Assembly
BytLabs.Application.dll

Defines a strategy for resolving user identity from a specific context. Part of the chain of responsibility pattern for user identification.

public interface IUserContextResolver

Methods

GetUserId()

Attempts to resolve the current user's identifier.

string? GetUserId()

Returns

string

The user ID if successfully resolved, or null if resolution fails