Skip to content

MintTokenResult

Defined in: cli/cli/src/plugin/mint-token/mint-token.type.ts:16

A token a plugin made. The value is the only copy: it goes to the private import file and is never printed.

envName: string

Defined in: cli/cli/src/plugin/mint-token/mint-token.type.ts:20

The plugin’s environment variable the value is stored under (PluginToken.envName).


optional expiresAt?: string

Defined in: cli/cli/src/plugin/mint-token/mint-token.type.ts:24

When the token stops working (ISO 8601), when the vendor enforces one.


optional id?: string

Defined in: cli/cli/src/plugin/mint-token/mint-token.type.ts:22

The vendor’s id for the token (not the value), so it can be found and revoked in the vendor’s UI.


notes: string[]

Defined in: cli/cli/src/plugin/mint-token/mint-token.type.ts:26

Lines for the person: what the token reaches, what the vendor could not scope. Never a value.


value: string

Defined in: cli/cli/src/plugin/mint-token/mint-token.type.ts:18

The token’s value. Handed over once, never printed, logged or put in a row.