Skip to main content

Login

AndroidiOSWindows
If you were looking for the method for use with Unity, see Login for Unity SDK.

Logs in to the game through a specified channel. The function returns the authentication status and Player Network account information.

Function definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool Login(
const EINTLLoginChannel Channel,
const FString Permissions = "",
const FString ExtraJson = "{}");

Input parameters

ParameterTypeDescription
ChannelFStringThe specified channel to login.
For more information, see EINTLLoginChannel.
PermissionsFStringThe authorized permissions list during login. Separate the permissions using commas.
Example: user_info,inapp_friends
For permission details, see relative channel descriptions.
ExtraJsonFStringThe extended field.
For more information, see relative channel descriptions.

Observers

The callback processing interface is AuthResultObserver. The callback data structure is AuthResult.

The callback methodID is kMethodIDAuthLogin.

Code sample

// login to Steam
UINTLSDKAPI::Login(EINTLLoginChannel::kChannelSteam);