Skip to main content
Version: Dev (main)

QarOnboardRemoteAppGrantExt Struct

Extension: redeem a remote-app grant while onboarding as a local app on another PC, chained into QarOnboardInit.header.next next to QarOnboardLocalAppExt (with any other mode: QAR_STATUS_ARGUMENT_NOT_SUPPORTED). More...

Declaration​

struct QarOnboardRemoteAppGrantExt { ... }

Included Headers​

Public Member Attributes Index​

QarStructureHeaderheader
const QarMemberHubInvitation *invitation

Description​

Extension: redeem a remote-app grant while onboarding as a local app on another PC, chained into QarOnboardInit.header.next next to QarOnboardLocalAppExt (with any other mode: QAR_STATUS_ARGUMENT_NOT_SUPPORTED).

Only a member hub redeems a grant: join the hub on this PC to the invitation's primary first (qar_runtime_join_hub_as_member). A hub that is not a member ignores the grant, with no error of its own, and asks its own operator as for any local app: the approval prompt, then QAR_STATUS_ONBOARDING_APPROVAL_DENIED or QAR_STATUS_ONBOARDING_APPROVAL_TIMEOUT when nobody allows it.

On a member hub, when no approval admits this executable there yet, the primary records it as the app the invitation's grant admits, without a prompt; once redeemed by another executable, or when the primary refuses the grant, the onboarding fails with QAR_STATUS_ONBOARDING_APPROVAL_DENIED. When an approval already admits it, the invitation is not used. The app tag of the grant applies; a QarOnboardLocalAppTagExt is not needed.

Definition at line 2271 of file qar_streaming.h.

Public Member Attributes​

header​

QarStructureHeader QarOnboardRemoteAppGrantExt::header

QAR_STRUCTURE_TYPE_RUNTIME_ONBOARD_REMOTE_APP_GRANT_EXT

Definition at line 2273 of file qar_streaming.h.

invitation​

const QarMemberHubInvitation* QarOnboardRemoteAppGrantExt::invitation

Required; the invitation the primary's app created with QarMemberHubInvitationAppGrantExt, as qar_member_hub_invitation_deserialize returned it. Borrowed for the duration of the call.

Definition at line 2279 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.