void AuthenticatUser(byte[] ticket, UserData user)
var responce = Authentication.BeginAuthSession(ticket, user, result =>
case EAuthSessionResponse.k_EAuthSessionResponseOK:
case EAuthSessionResponse.k_EAuthSessionResponseUserNotConnectedToSteam:
//This user is not connected to Steam
case EAuthSessionResponse.k_EAuthSessionResponseNoLicenseOrExpired:
//This user is not licensed for this game
case EAuthSessionResponse.k_EAuthSessionResponseVACBanned:
//This user is VAC banned for this app
case EAuthSessionResponse.k_EAuthSessionResponseLoggedInElseWhere:
//This session is logged elsewhere
case EAuthSessionResponse.k_EAuthSessionResponseVACCheckTimedOut:
//This VAC Check is timed out, may be fine, may not
case EAuthSessionResponse.k_EAuthSessionResponseAuthTicketCanceled:
//This Tickedt cancled by owner
case EAuthSessionResponse.k_EAuthSessionResponsePublisherIssuedBan:
//This publisher issued ban
case EAuthSessionResponse.k_EAuthSessionResponseAuthTicketInvalidAlreadyUsed:
//This Ticket invalid / already used
case EAuthSessionResponse.k_EAuthSessionResponseAuthTicketInvalid:
case EBeginAuthSessionResult.k_EBeginAuthSessionResultOK:
//Send correctly, wait for callback
case EBeginAuthSessionResult.k_EBeginAuthSessionResultInvalidTicket:
//Invalid ticket, will get no responce
case EBeginAuthSessionResult.k_EBeginAuthSessionResultDuplicateRequest:
//Duplicate request, will get no responce
case EBeginAuthSessionResult.k_EBeginAuthSessionResultInvalidVersion:
//Invalid version, will get no responce
case EBeginAuthSessionResult.k_EBeginAuthSessionResultGameMismatch:
//Game missmatch, will get no responce
case EBeginAuthSessionResult.k_EBeginAuthSessionResultExpiredTicket:
//Expired ticket, will get no responce