Initialize ShogunDID manager
Optional
registryConfig: Partial<DIDRegistryConfig>Optional
options: { useSecureRandomPassword?: boolean; [key: string]: any }Private
Readonly
corePrivate
Readonly
DEFAULT_Private
Readonly
DEFAULT_Private
Readonly
DEFAULT_Private
Readonly
DEFAULT_Private
Readonly
didPrivate
Readonly
methodPrivate
Readonly
optionsPrivate
Readonly
registryAuthenticate using a DID
The DID to authenticate
Optional
challenge: stringOptional challenge for authentication
Authentication result
Private
authenticateOptional
challenge: stringPrivate
authenticateOptional
challenge: stringPrivate
authenticateOptional
challenge: stringClear DID cache
Private
createCreate a DID Document from options
DID identifier
Creation options
DID Document
Private
createDeactivate a DID
The DID to deactivate
Whether the deactivation was successful
Emits an event with arguments
Optional
data: unknownPrivate
extractGenerate a DID Document from a DID
The DID to create a document for
DID creation options
The created DID Document
Get the current user's DID
The user's DID or null if not found
Private
getHelper to get document from cache entry (compatibility)
Private
getHelper to get public key of current user
Private
getValidate if a string is a properly formatted DID
The DID to validate
Whether the DID is valid
Removes an event listener
Registers an event listener
Registers a one-time event listener
Private
parseRemoves all listeners for an event or all events
Optional
event: EventTypeRemove specific DID from cache
Resolve a DID with caching
Private
storeDIDStore DID document
DID identifier
DID creation options or document
Promise that resolves when DID is stored
Update DID Document
DID to update
Partial DID Document to merge with existing document
True if the document was updated successfully
Verifica se un DID è registrato sulla blockchain
Il DID da verificare
Promise con il risultato della verifica
ShogunDID class for decentralized identity management