@gala-chain/chaincode • Readme | API
@gala-chain/chaincode / authorize
Function: authorize()
authorize(
ctx,dto,legacyCAUser):Promise\<object>
Parameters
• ctx: GalaChainContext
• dto: undefined | ChainCallDTO
• legacyCAUser: string
fallback user alias to use then the new flow is not applicable
Returns
Promise\<object>
User alias of the calling user.
alias
alias:
stringethAddress?
optionalethAddress:string