SDK authentication using pairing code
In order to use the pairing code option, either the user needs to go to the Brouwer Vos dashboard.
You request the SDK to be paired by calling:
BrouwerVosSDK.getInstance().pair(Context context);The is promoted to navigate to the terminals in the Brouwer Vos dashboard.
The user selects 'generate pairing code' and enter the pairing code on the screen.
The user navigates to your environment where they can generate a pairing code.
Once the user wants to generate a pairing code, you simply call the pair endpoint to generate a pairing code.
You display this pairing code to the user.
You have created a screen where the user can enter their pairing code, once they enter 6 characters you call the following code:
BrouwerVosSDK.getInstance().pair(Context context, "pairing code");
Last updated