Package org.ngengine.auth.nsec
Class NsecAuth
java.lang.Object
org.ngengine.auth.Auth
org.ngengine.auth.nsec.NsecAuth
-
Field Summary
Fields inherited from class org.ngengine.auth.Auth
authWindow, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanorg.ngengine.nostr4j.signer.NostrSignervoidMethods inherited from class org.ngengine.auth.Auth
delete, getOptions, getStore, isStoreEnabled, listSaved, load, open, open, save
-
Constructor Details
-
NsecAuth
-
-
Method Details
-
getNewIdentityText
- Specified by:
getNewIdentityTextin classAuth
-
load
public org.ngengine.nostr4j.signer.NostrSigner load(DataStore store, String pub, String password) throws IOException - Specified by:
loadin classAuth- Throws:
IOException
-
delete
- Specified by:
deletein classAuth- Throws:
IOException
-
listSaved
- Specified by:
listSavedin classAuth- Throws:
IOException
-
save
public void save(DataStore store, org.ngengine.nostr4j.signer.NostrSigner sn, String password) throws IOException - Specified by:
savein classAuth- Throws:
IOException
-
isEnabled
public boolean isEnabled()
-