requestSessionDelegation
requestSessionDelegation(
signer,params):Promise<DelegationChain>
Defined in: src/client/session/session-delegation.ts:103
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.
Parameters
Section titled “Parameters”signer
Section titled “signer”Signer
params
Section titled “params”SessionDelegationParams | Promise<SessionDelegationParams>
Returns
Section titled “Returns”Promise<DelegationChain>