Skip to content

requestSessionDelegation

requestSessionDelegation(signer, params): Promise<DelegationChain>

Defined in: src/client/session-delegation.ts:78

Asks the identity provider for a session, and returns the chain it signed.

The chain is restricted to the Internet Identity canister, so it is not something an application can call its own canisters with. It is what app delegations are minted from.

Signer

string

bigint

bigint

DerEncodedPublicKey

Promise<DelegationChain>