Access Token Login

The access token login is described in this section.

Access Token Login can be used when Operator hosts the provider’s games in their lobby. The flow is as following:

  • After Player logins on Operator system, Operator system passes the Token to open Game link: {bowdang-url}?token={Token}&app_id={AppID}&code={Code}&language={Language}&redirect_url={RedirectUrl}

  • Game client calls the provider API which in return calls Operator Integration API to authenticate Token.

  • Operator Integration API responses to validate the token together with Username, Balance.

  • Provider game site shows the game.

Diagram 1: Access Token Login
Field
Value Type
Max Length
Description

token

string / require

100

Generated by Operator. Player is uniquely identified by Token.

app_id

string / require

10

Operator's unique identification in the BD system (provided by BD)

code

string / optional

10

Lottery code as listed by provider see

language

string / optional

10

Provider's preferred language see

redirect_url

string / optional

200

The URL will be redirected when client logout (Please encode url before set this field)

// Example
https://test.lottery/?token=e34a1955bf1692a2b038b63cd532722f&app_id=TEST&code=HT001&language=THA&redirect_url=https%3A%2F%2Fhuayded.com

If you want to log in to the lobby, please do not enter the code.

Last updated