FUserOnlineAccountTwitch

Info associated with an user account generated by this online service

Windows
MacOS
Linux

Inheritance Hierarchy

FOnlineUser

FUserOnlineAccount

FUserOnlineAccountTwitch

References

Module

OnlineSubsystemTwitch

Header

/Engine/Plugins/Online/OnlineSubsystemTwitch/Source/Public/OnlineAccountTwitch.h

Include

#include "OnlineAccountTwitch.h"

Syntax

class FUserOnlineAccountTwitch : public FUserOnlineAccount

Remarks

Info associated with an user account generated by this online service

Variables

Name Description

Protected variable

FJsonSerializab...

 

AccountData

Any addition account data associated with the user

Protected variable

FString

 

AuthTicket

Ticket which is provided to user once authenticated by the online service

Protected variable

TArray< FString...

 

ScopePermissions

Scope permissions the user has authorized us for

Protected variable

TSharedRef< con...

 

UserId

User Id represented as a FUniqueNetId

Constructors

Name Description

Public function

FUserOnlineAccountTwitch

(
    const FString& InUserId,
    const FString& InAuthTicket
)

FUserOnlineAccountTwitch.

Destructors

Name Description

Public function Virtual

~FUserOnlineAccountTwitch()

Functions

Name Description

Protected function Const

bool

 

GetAccountData

(
    const FString& Key,
    FString& OutVal
)

Get account data attribute

Public function Const

const TArray...

 

GetScopePermissions()

Public function

bool

 

Parse

(
    const FString& InAuthTicket,
    FTwitchTokenValidationResponse&& V...
)

Parse Json profile request data into the user account

Protected function

bool

 

SetAccountData

(
    const FString& Key,
    const FString& Val
)

Set account data attribute

Overridden from FUserOnlineAccount

Name Description

Public function Virtual Const

FString

 

GetAccessToken()

Public function Virtual Const

bool

 

GetAuthAttribute

(
    const FString& AttrName,
    FString& OutAttrValue
)

Public function Virtual

bool

 

SetUserAttribute

(
    const FString& AttrName,
    const FString& AttrValue
)

Overridden from FOnlineUser

Name Description

Public function Virtual Const

FString

 

GetDisplayName

(
    const FString& Platform
)

Public function Virtual Const

FString

 

GetRealName()

Public function Virtual Const

bool

 

GetUserAttribute

(
    const FString& AttrName,
    FString& OutAttrValue
)

Public function Virtual Const

TSharedRef< ...

 

GetUserId()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss