Skip to content

NotificationConsentOptions

Defined in: src/client/notification-consent.ts:140

optional agentOptions?: Omit<HttpAgentOptions, "identity">

Defined in: src/client/notification-consent.ts:154

Options for the agent making them. identity is not among them: the agent signs as the session, which is what both calls are authorised by.


canisterId: Principal

Defined in: src/client/notification-consent.ts:148

The canister these calls go to.


sessionChain: DelegationChain

Defined in: src/client/notification-consent.ts:145

The chain proving those calls come from the session. Restricted to II.


sessionKey: SignIdentity

Defined in: src/client/notification-consent.ts:142

The key the session chain delegates to. Signs the calls made here.