Class NWCAuth

java.lang.Object
org.ngengine.wallets.nip47.NWCAuth
All Implemented Interfaces:
AutoCloseable

public final class NWCAuth extends Object implements AutoCloseable
One-use, client-initiated NWC-08 pairing. The private key never enters the QR.
  • Constructor Details

  • Method Details

    • getConnectionUri

      public String getConnectionUri()
    • awaitConnection

      public org.ngengine.platform.AsyncTask<NWCUri> awaitConnection(Duration timeout)
      Starts listening only when the user reveals/opens the QR, not during page load.
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable