Package org.ngengine.auth
Class Auth
java.lang.Object
org.ngengine.auth.Auth
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Class<? extends NWindow<AuthConfig>> protected final AuthConfig -
Constructor Summary
ConstructorsConstructorDescriptionAuth(AuthStrategy strategy, Class<? extends NWindow<AuthConfig>> authWindow) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected abstract voidabstract Stringprotected AuthConfiggetStore()abstract booleanbooleanorg.ngengine.nostr4j.signer.NostrSignerprotected abstract org.ngengine.nostr4j.signer.NostrSigneropen(NWindowManagerComponent manager) open(NWindowManagerComponent manager, String forPubKey) voidprotected abstract void
-
Field Details
-
options
-
authWindow
-
-
Constructor Details
-
Auth
-
-
Method Details
-
getNewIdentityText
-
open
-
open
-
getStore
-
isStoreEnabled
public boolean isStoreEnabled() -
getOptions
-
isEnabled
public abstract boolean isEnabled() -
load
protected abstract org.ngengine.nostr4j.signer.NostrSigner load(DataStore store, String pub, String encryptionKey) throws IOException - Throws:
IOException
-
load
public org.ngengine.nostr4j.signer.NostrSigner load(String pub, String encryptionKey) throws IOException - Throws:
IOException
-
delete
- Throws:
IOException
-
delete
- Throws:
IOException
-
listSaved
- Throws:
IOException
-
listSaved
-
save
protected abstract void save(DataStore store, org.ngengine.nostr4j.signer.NostrSigner signer, String encryptionKey) throws IOException - Throws:
IOException
-
save
-