Skip to main content
Version: Dev (main)

QarMemberHubInvitationAppGrantExt Struct

Extension: the invitation also grants one remote app on the joining PC, chained into QarMemberHubInvitationInit.header.next. More...

Declaration​

struct QarMemberHubInvitationAppGrantExt { ... }

Included Headers​

Public Member Attributes Index​

const char *app_tag

Required; the grant's app tag. Copied before the call returns. More...

QarStructureHeaderheader

Description​

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_tag follows the app tag rules of QarOnboardLocalAppTagExt; QAR_STATUS_ARGUMENT_NOT_SUPPORTED otherwise.

Definition at line 2243 of file qar_streaming.h.

Public Member Attributes​

app_tag​

const char* QarMemberHubInvitationAppGrantExt::app_tag

Required; the grant's app tag. Copied before the call returns.

Definition at line 2248 of file qar_streaming.h.

header​

QarStructureHeader QarMemberHubInvitationAppGrantExt::header

QAR_STRUCTURE_TYPE_RUNTIME_MEMBER_HUB_INVITATION_APP_GRANT_EXT

Definition at line 2245 of file qar_streaming.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.9.8.