Interface: ActorResolver
Defined in: packages/core/src/application/ports/actor-resolver.ts:10
Port for resolving the identity of the current actor.
Decoupled from any specific identity provider (git, SSO, environment variables, etc.). Use cases that record change history events depend on this port instead of VcsAdapter.
Methods
identity()
identity():
Promise<ActorIdentity>
Defined in: packages/core/src/application/ports/actor-resolver.ts:17
Returns the identity of the current actor.
Returns
Promise<ActorIdentity>
The actor's name and email
Throws
When the identity cannot be determined