Request the credential
You will then need to generate a QR code to retrieve the newly-issued credential. The share result will contain the QR code URL to present the dynamic QR code.
x
const dynamicPolicy = new DynamicPolicyBuilder()
.withWantedAttributeByName('com.example.someAttribute')
.build();
const dynamicScenario = (new DynamicScenarioBuilder())
.withCallbackEndpoint('/account/connect')
.withPolicy(dynamicPolicy)
.build();
const shareUrlResult = yotiClient.createShareUrl(dynamicScenario);
To generate your dynamic QR code on your front end you will need the shareURL and SDK ID from your application.
Was this page helpful?