# Interface: SSKSPassword

# Table of contents

# Properties

# Methods

# Properties

# keyStorageURL

keyStorageURL: string

keyStorageURL with which this plugin instance was created. URL of the SSKS Identity Key Storage to which it should connect.


# keyStore

keyStore: KeyStorePassword

Manual SSKS Identity Key Storage interface. For advanced use.

# Methods

# changeIdentityPassword

changeIdentityPassword(args): Promise<void>

Change the password of a Seald account.

# Parameters

Name Type Description
args Object
args.currentPassword string The user's current password.
args.newPassword string The next password
args.userId string The unique ID of the current user inside your app. It will be used to identify this user.

# Returns

Promise<void>


# retrieveIdentity

retrieveIdentity(args): Promise<void>

Retrieve the Seald account previously created with initiateIdentity.

# Parameters

Name Type Description
args Object
args.password string The user's password. It will be used to decrypt the stored identity keys.
args.userId string The unique ID of the current user inside your app. It will be used to identify this user.

# Returns

Promise<void>


# saveIdentity

saveIdentity(args): Promise<void>

Save the Seald account to SSKS.

# Parameters

Name Type Description
args Object
args.identity? Buffer Optional, the identity to save. If no identity is given, current one is saved.
args.password string The user's password. It will be used to decrypt the stored identity keys.
args.userId string The unique ID of the current user inside your app. It will be used to identify this user.

# Returns

Promise<void>