HyperKycConfig.fromAccessToken constructor
HyperKycConfig.fromAccessToken({})
Create HyperKycConfig instance from accessToken.
workflowId and transactionId are optional. When either is omitted, the
native SDK extracts it from the accessToken's JWT payload (which can
carry both alongside the appId). Pass them explicitly to override what the
payload contains.
If a value is neither passed nor present in the payload, the native SDK surfaces the problem as an error result (errorCode SDK_CONFIG_ERROR) at launch.
Implementation
HyperKycConfig.fromAccessToken({
required this.accessToken,
this.workflowId,
this.transactionId,
});