Class AuthStrategy

java.lang.Object
org.ngengine.auth.AuthStrategy

public class AuthStrategy extends Object
  • Field Details

    • nip46

      protected Nip46AuthStrategy nip46
    • localIdentity

      protected boolean localIdentity
    • store

      protected org.ngengine.platform.VStore store
    • isStoreSet

      protected boolean isStoreSet
    • callback

      protected Consumer<org.ngengine.nostr4j.signer.NostrSigner> callback
    • playerManager

      protected PlayerManagerComponent playerManager
  • Constructor Details

    • AuthStrategy

      public AuthStrategy(Consumer<org.ngengine.nostr4j.signer.NostrSigner> callback)
  • Method Details

    • getCallback

      public Consumer<org.ngengine.nostr4j.signer.NostrSigner> getCallback()
    • enableNip46RemoteIdentity

      public AuthStrategy enableNip46RemoteIdentity(Nip46AuthStrategy nip46)
    • enableStore

      public AuthStrategy enableStore(org.ngengine.platform.VStore store)
    • isAutoStore

      public boolean isAutoStore()
    • disableStore

      public AuthStrategy disableStore()
    • autoStore

      public AuthStrategy autoStore()
    • setPlayerManager

      public AuthStrategy setPlayerManager(PlayerManagerComponent playerManager)
    • getPlayerManager

      public PlayerManagerComponent getPlayerManager()
    • isStoreEnabled

      public boolean isStoreEnabled()
    • getStore

      public org.ngengine.platform.VStore getStore()
    • enableLocalIdentity

      public AuthStrategy enableLocalIdentity()
    • disableNip46RemoteIdentity

      public AuthStrategy disableNip46RemoteIdentity()
    • disableLocalIdentity

      public AuthStrategy disableLocalIdentity()
    • enableNip07Identity

      public AuthStrategy enableNip07Identity(Object nip07adapter)
    • disableNip07Identity

      public AuthStrategy disableNip07Identity()
    • isNip46RemoteIdentityEnabled

      public boolean isNip46RemoteIdentityEnabled()
    • isLocalIdentityEnabled

      public boolean isLocalIdentityEnabled()
    • isNip07IdentityEnabled

      public boolean isNip07IdentityEnabled()
    • getNip46RemoteIdentityStrategy

      public Nip46AuthStrategy getNip46RemoteIdentityStrategy()