Interface ClientAddonsLayer

Layer addon configuration.

Hierarchy

  • ClientAddonsLayer

Indexable

[key: string]: any | any

Properties

expiration?: number

Optional expiration in minutes for the generated token. Defaults to 5 minutes.

keyId: string

Authentication Key identifier used to sign the Layer token.

principal?: string

Name of the property used as the unique user id in Layer. If not specified user_id is used.

privateKey: string

Private key for signing the Layer token.

providerId: string

Provider ID of your Layer account