Skip to main content

DIDManager.didManagerCreate() method

Creates and returns a new identifier

Signature:

didManagerCreate(args: IDIDManagerCreateArgs, context: IAgentContext<IKeyManager>): Promise<IIdentifier>;

Parameters

ParameterTypeDescription
argsIDIDManagerCreateArgsRequired. Arguments to create the identifier
contextIAgentContext<IKeyManager>*RESERVED* This is filled by the framework when the method is called. This method's execution context requires an agent that has IKeyManager methods.

Returns:

Promise<IIdentifier>