FUserOnlineAccountTwitch

Inheritance Hierarchy

FOnlineUser

FUserOnlineAccount

FUserOnlineAccountTwitch

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

bool

 

GetAccountData

(
    const FString & Key,
    FString & OutVal
)

Get account data attribute

Public function

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

FString

 

GetAccessToken()

Public function Virtual

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

FString

 

GetDisplayName

(
    const FString & Platform
)

Public function Virtual

FString

 

GetRealName()

Public function Virtual

bool

 

GetUserAttribute

(
    const FString & AttrName,
    FString & OutAttrValue
)

Public function Virtual

TSharedRef < ...

 

GetUserId()

References