#[repr(C)]pub struct QarMemberHubInvitationAppGrantExt {
pub header: QarStructureHeader,
pub app_tag: *const c_char,
}Expand description
@brief Extension: the invitation also grants one remote app on the joining PC, chained into QarMemberHubInvitationInit.header.next.
The grant is bound to the calling app’s approval and app_tag. On a member
hub of this primary, the first executable that onboards as a local app with
the invitation chained (QarOnboardRemoteAppGrantExt) is approved there
without a prompt, recorded by its publisher or image hash. Later starts of
that executable onboard with no invitation and no prompt, and the primary
gives them the same peer id while no other live process holds it (the peer
is remembered under the grant’s tag). A different executable is refused the
grant once it is redeemed, also with a later invitation of the same app and
tag.
- One grant admits one app on one member PC, however many hubs the invitation’s max_uses lets join; issue one tag per remote app.
- With a grant the calling app’s own approval is not extended to the member hub (it is without one).
- Revoking the calling app’s approval, or the granted one, on the primary revokes the granted app and forgets its peer id.
app_tagfollows the app tag rules of QarOnboardLocalAppTagExt; QAR_STATUS_ARGUMENT_NOT_SUPPORTED otherwise.
Fields§
§header: QarStructureHeader< QAR_STRUCTURE_TYPE_RUNTIME_MEMBER_HUB_INVITATION_APP_GRANT_EXT
app_tag: *const c_charRequired; the grant’s app tag. Copied before the call returns.