Skip to main content

IRequiredContext type

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Represents the requirements that this plugin has. The agent that is using this plugin is expected to provide these methods.

This interface can be used for static type checks, to make sure your application is properly initialized.

This API may change without a BREAKING CHANGE notice.

Signature:

export type IRequiredContext = IAgentContext<
IResolver & Pick<IDIDManager, 'didManagerGet'> & Pick<IKeyManager, 'keyManagerGet' | 'keyManagerSign'>
>

References: IAgentContext, IResolver, IDIDManager, IKeyManager