• Attempts to obtains an account access by performing an authentication with the did:mailto account corresponding to given email. Process involves out of bound email verification, so this function returns a promise that will resolve to an account only after access has been granted by the email owner by clicking on the link in the email. If the link is not clicked within the authorization session time bounds (currently 15 minutes), the promise will resolve to an error.

    Parameters

    • client: {
          agent: Agent<Service>;
      }
    • email: `${string}@${string}`
    • Optional options: {
          signal: undefined | AbortSignal;
      } = {}
      • signal: undefined | AbortSignal

    Returns Promise<Result<Account.Account, Error>>

Generated using TypeDoc