interface LabelerOptions
Options for the LabelerServer class.
Properties
signingKey: string
The private signing key used for the labeler. If you don't have a key, generate and set one using plcSetupLabeler.
auth?: (did: string) => boolean | Promise<boolean>
A function that returns whether a DID is authorized to create labels. By default, only the labeler account is authorized.
dbUrl?: string
The URL of the remote SQLite database. If provided, dbPath is ignored.
dbToken?: string
The authentication token for the remote SQLite database. Required if dbUrl is provided.