DIDManager.didManagerSetAlias() method
Sets identifier alias
Signature:
didManagerSetAlias({ did, alias }: IDIDManagerSetAliasArgs, context: IAgentContext<IKeyManager>): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
{ did, alias } | IDIDManagerSetAliasArgs | |
context | IAgentContext<IKeyManager> | Execution context. Requires agent that has IKeyManager methods |
Returns:
Promise<boolean>