Call the StovePC.GetToken method to acquire the token information of a logged-in user.
Enter the code piece below in the ButtonGetToken_Click method.
sdkResult = StovePC.GetToken();
Plain Text
복사
What is a token?
It is the access token of the logged-in user in STOVE Launcher, and the game server passes this access token to the stove authentication server to validate the logged-in user.
For a detailed explanation of Access Token, please get in touch with store.support@smilegate.com for technical support.
Write a callback function when the GetToken function call usually completes. Write the code snippet below in the OnToken method.
sb.AppendLine("OnToken");
sb.AppendFormat(" - token.AccessToken : {0}", token.AccessToken);
Plain Text
복사