Class NsecAuthWindow

All Implemented Interfaces:
HasLocalTransform, CloneableSmartAsset, Collidable, Savable, JmeCloneable, GuiControlListener, GuiUpdateListener, Cloneable

public class NsecAuthWindow extends NWindow<AuthConfig>
  • Constructor Details

    • NsecAuthWindow

      public NsecAuthWindow()
  • Method Details

    • compose

      protected void compose(Vector3f size, AuthConfig opt) throws Exception
      Specified by:
      compose in class NWindow<AuthConfig>
      Throws:
      Exception
    • authFailed

      public void authFailed(AuthConfig opt, Throwable e)
    • renderStage1

      protected void renderStage1(AuthConfig opt)
    • auth

      protected void auth(AuthConfig opt, org.ngengine.nostr4j.signer.NostrSigner signer, String saveWithPassword)
    • loadAndAuthStage

      protected void loadAndAuthStage(AuthConfig opt, String inputKey, boolean save)
      Load a signer either from the store or from a given ncryptsec
      Parameters:
      inputKey - the given ncryptsec or the pubkey to load from the store
      save -
      strategy -
    • renderEncryptAndStoreStage

      protected void renderEncryptAndStoreStage(AuthConfig opt, org.ngengine.nostr4j.signer.NostrKeyPairSigner signer)