VgsTokenizationConfig

Tokenization settings for a VGS Compose field.

Pass an instance to a field's rememberVgs…TextFieldState(... tokenizationConfig = ...) factory to opt that field into tokenization: on submit, the field's value is replaced with an alias produced by the VGS vault.

Use a field-specific subclass to get sensible defaults: VgsCardNumberTokenizationConfig, VgsCvcTokenizationConfig, VgsCardholderTokenizationConfig, VgsSsnTokenizationConfig, VgsExpiryTokenizationConfig, VgsTextFieldTokenizationConfig.

Parameters

format

alias format the vault should produce.

storage

whether the alias is stored persistently or only for the session.

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard