@gala-chain/chaincode ∙ API
API > 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
User alias of the calling user.