DIDManager.didManagerGetOrCreate() method
Returns an existing identifier or creates a new one for a specific alias
Signature:
didManagerGetOrCreate({ provider, alias, kms, options }: IDIDManagerGetOrCreateArgs, context: IAgentContext<IKeyManager>): Promise<IIdentifier>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ provider, alias, kms, options } | ||
|
context |
*RESERVED* This is filled by the framework when the method is called. This method's execution context requires an |
Promise<IIdentifier>