Skip to main content

Class: SimpleTokenizerBackend

The Simple Tokenizer backend. Does not interoperate with the rest of LunaSec's modules except the SimpleTokenizer. A simple, paired down version of tokenization that is hosted right on your existing express server.

Constructors

constructor

โ€ข new SimpleTokenizerBackend(config)

Parameters

NameType
configSimpleTokenizerBackendConfig

Defined in

js/sdks/packages/node-sdk/src/express-simple-tokenizer-backend/simple-tokenizer-backend.ts:52

Properties

config

โ€ข Readonly config: SimpleTokenizerBackendConfig

Methods

getTokenPresignedUrl

โ–ธ getTokenPresignedUrl(tokenId): Promise<Object>

Parameters

NameType
tokenIdstring

Returns

Promise<Object>

Defined in

js/sdks/packages/node-sdk/src/express-simple-tokenizer-backend/simple-tokenizer-backend.ts:93


createTokenPresignedUrl

โ–ธ createTokenPresignedUrl(tokenId): Promise<Object>

Parameters

NameType
tokenIdstring

Returns

Promise<Object>

Defined in

js/sdks/packages/node-sdk/src/express-simple-tokenizer-backend/simple-tokenizer-backend.ts:97


register

โ–ธ register(app): void

Parameters

NameType
appApplication

Returns

void

Defined in

js/sdks/packages/node-sdk/src/express-simple-tokenizer-backend/simple-tokenizer-backend.ts:101