• Request authorization of a session allowing this agent to issue UCANs signed by the passed email address.

    Parameters

    • accessAgent: Agent<Service>
    • 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;
        }>
      • expectAuthorization: undefined | AuthorizationWaiter<{}>

        function that will resolve once account has confirmed the authorization request

      • signal: undefined | AbortSignal

    Returns Promise<void>

Generated using TypeDoc