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