add getTokenInfo, revokePermissions; expand exception