Function authorizeWaitAndClaim
- authorizeWaitAndClaim(accessAgent, email, opts?): Promise<void>
Parameters
email: `${string}@${string}`
Optional
opts: {
addProofs: undefined | boolean;
capabilities: undefined | Iterable<{
can: Ability;
}>;
expectAuthorization: undefined | AuthorizationWaiter<{}>;
signal: undefined | AbortSignal;
}
addProofs: undefined | boolean
capabilities: undefined | Iterable<{
can: Ability;
}>
signal: undefined | AbortSignal
Returns Promise<void>
Request authorization of a session allowing this agent to issue UCANs signed by the passed email address.