GenerateAuth

GameSpy SDK

GenerateAuth

Create a validation token (response) for use when beginning the authentication process.

char * GenerateAuth(
char * challenge,
gsi_char * password,
char response[33] );
RoutineRequired HeaderDistribution
GenerateAuth<gpersist.h>SDKZIP

Return Value

A pointer to the output authentication string.

Parameters

challenge
[in] The string generated by GetChallenge()
password
[in] The CD Key (un-hashed) or profile password or partner challenge
response
[out] The output authentication string.

Remarks

Used to generate on the "challengeresponse" parameter for the PreAuthenticatePlayer
functions.