IDIDManager.didManagerGetOrCreate() method

Returns an existing identifier or creates a new one for a specific alias

Signature:
didManagerGetOrCreate(args: IDIDManagerGetOrCreateArgs, context: IAgentContext<IKeyManager>): Promise<IIdentifier>;

Parameters

ParameterTypeDescription
argsIDIDManagerGetOrCreateArgs
contextIAgentContext <IKeyManager>
Returns:

Promise<IIdentifier >