Private
_authenticatingPrivate
Optional
_collectionsPrivate
Optional
_consensusPrivate
Optional
_rxjsPrivate
Optional
authPrivate
Readonly
onPrivate
Readonly
retryStatic
ErrorsPrivate
_savePrivate
_setNome del nodo
Dati da salvare
Promise che risolve con l'hash generato
Adds a new peer to the network
URL of the peer to add
Aggiunge dati allo spazio Frozen Frozen Space contiene dati che possono essere solo aggiunti, non modificati o rimossi. Utilizza un pattern specifico con ::: per indicare dati immutabili.
Node name
Key to store at
Data to save
Promise resolving to operation result
Clears the encryption cache
Accesses the Collections module for collection management
GunCollections instance
Accesses the Consensus module for distributed consensus
Optional
config: anyOptional consensus configuration
GunConsensus instance
Decrypts data between sender and receiver
Data to decrypt
Sender
Receiver
Promise resolving to decrypted data
Decrypts a value
Value to decrypt
Private key
Promise resolving to decrypted value
Encrypts data between sender and receiver
Data to encrypt
Sender
Receiver
Promise resolving to encrypted data
Encrypts a value
Value to encrypt
Private key
Promise resolving to encrypted value
Extracts policy from a certificate
Certificate
Promise resolving to extracted policy
Recupera il suggerimento della password utilizzando le risposte alle domande di sicurezza
Nome utente
Array di risposte alle domande di sicurezza
Promise che risolve con il suggerimento della password
Generates multiple certificates
Generation options
Promise resolving to generated certificates
Genera un nuovo set di coppie di chiavi
Promise resolving to generated key pair
Gets a node at the specified path
Path to the node
Gun node
Gets the current user
Current user object or null
Ottiene dati dallo spazio Frozen
Node name
Key to retrieve
Promise resolving to retrieved data
Gets the Gun instance
Gun instance
Recupera dati hash-addressable dallo spazio Frozen
Nome del nodo
Hash del contenuto
Se true, verifica che l'hash corrisponda ai dati recuperati
Promise che risolve con i dati recuperati
Gets data from public space
Node name
Key to retrieve
Promise resolving to retrieved data
Generates a short hash
Text to hash
Optional
salt: stringOptional salt
Promise resolving to short hash
Gets the current user instance
User instance
Gets data from user's space
Path in user space
Promise resolving to retrieved data
Generates a hash for an object
Object to hash
Promise resolving to hash and serialized object
Generates a hash for text
Text to hash
Promise resolving to generated hash
Private
isChecks if a string is a hash
String to check
True if valid hash
Checks if a user is currently logged in
True if logged in
Issues a certificate
Certificate options
Promise resolving to generated certificate
Logs in a user
Username
Password
Optional
callback: (result: any) => voidOptional callback for login result
Promise resolving to login result
Logs out the current user
Private
notifyRegisters an authentication callback
Function to call on auth events
Function to unsubscribe the callback
Puts data at the specified path
Path to store data
Data to store
Promise resolving to operation result
Private
readRemoves data at the specified path
Path to remove
Promise resolving to operation result
Private
retryConverts a hash to URL-safe format
Hash to convert
Safe hash
Safely parses JSON
Input to parse
Default value
Parsed object
Private
saveSaves data to public space
Node name
Key to store at
Data to save
Promise resolving to saved data
Saves data to user's space
Path in user space
Data to save
Promise resolving to saved data
Sets data at the specified path
Path to store data
Data to store
Promise resolving to operation result
Imposta le domande di sicurezza e il suggerimento per la password
Nome utente
Password corrente
Suggerimento per la password
Array di domande di sicurezza
Array di risposte alle domande di sicurezza
Promise che risolve con il risultato dell'operazione
Signs data
Data to sign
Key pair
Promise resolving to signed data
Signs up a new user
Username
Password
Promise resolving to signup result
Private
subscribeConverts a safe hash back to original format
Safe hash
Original hash
Unsets a node at the specified path
Path to unset
Node to unset
Promise resolving to operation result
Verifies signed data
Signed data
Public key
Promise resolving to verified data
Verifies a certificate
Certificate to verify
Public key
Promise resolving to verification result
Static
withCreates a new GunDB instance with specified peers
Array of peer URLs to connect to
New GunDB instance
Aggiunge dati allo spazio Frozen utilizzando l'hash del contenuto come chiave Combina content addressing e immutabilità per massima integrità dei dati