Skip to content

OnlineAuthInterface

Interface in Engine · Engine.OnlineAuthInterface · native

Using it from Lua
h7.find_all("OnlineAuthInterface")            -- live instances
h7.find_class("Engine.OnlineAuthInterface")   -- the class
h7.hook("Engine.OnlineAuthInterface.AddAuthReadyDelegate", fn)

Enums

EAuthStatus

AUS_NotStarted = 0, AUS_Pending = 1, AUS_Authenticated = 2, AUS_Failed = 3

Structs

AuthSession

Struct extends BaseAuthSession

FieldType
AuthStatusEAuthStatus
AuthTicketUIDint

BaseAuthSession

FieldType
EndPointIPint
EndPointPortint
EndPointUIDUniqueNetId

LocalAuthSession

Struct extends BaseAuthSession

FieldType
SessionUIDint

Functions

NameDeclaration
AddAuthReadyDelegatefunction AddAuthReadyDelegate()
AddClientAuthCompleteDelegatefunction AddClientAuthCompleteDelegate()
AddClientAuthEndSessionRequestDelegatefunction AddClientAuthEndSessionRequestDelegate()
AddClientAuthRequestDelegatefunction AddClientAuthRequestDelegate()
AddClientAuthResponseDelegatefunction AddClientAuthResponseDelegate()
AddClientConnectionCloseDelegatefunction AddClientConnectionCloseDelegate()
AddServerAuthCompleteDelegatefunction AddServerAuthCompleteDelegate()
AddServerAuthRequestDelegatefunction AddServerAuthRequestDelegate()
AddServerAuthResponseDelegatefunction AddServerAuthResponseDelegate()
AddServerAuthRetryRequestDelegatefunction AddServerAuthRetryRequestDelegate()
AddServerConnectionCloseDelegatefunction AddServerConnectionCloseDelegate()
AllClientAuthSessionsnative function iterator AllClientAuthSessions(out AuthSession OutSessionInfo)
AllLocalClientAuthSessionsnative function iterator AllLocalClientAuthSessions(out LocalAuthSession OutSessionInfo)
AllLocalServerAuthSessionsnative function iterator AllLocalServerAuthSessions(out LocalAuthSession OutSessionInfo)
AllServerAuthSessionsnative function iterator AllServerAuthSessions(out AuthSession OutSessionInfo)
ClearAuthReadyDelegatefunction ClearAuthReadyDelegate()
ClearClientAuthCompleteDelegatefunction ClearClientAuthCompleteDelegate()
ClearClientAuthEndSessionRequestDelegatefunction ClearClientAuthEndSessionRequestDelegate()
ClearClientAuthRequestDelegatefunction ClearClientAuthRequestDelegate()
ClearClientAuthResponseDelegatefunction ClearClientAuthResponseDelegate()
ClearClientConnectionCloseDelegatefunction ClearClientConnectionCloseDelegate()
ClearServerAuthCompleteDelegatefunction ClearServerAuthCompleteDelegate()
ClearServerAuthRequestDelegatefunction ClearServerAuthRequestDelegate()
ClearServerAuthResponseDelegatefunction ClearServerAuthResponseDelegate()
ClearServerAuthRetryRequestDelegatefunction ClearServerAuthRetryRequestDelegate()
ClearServerConnectionCloseDelegatefunction ClearServerConnectionCloseDelegate()
CreateClientAuthSessionfunction bool CreateClientAuthSession(UniqueNetId ServerUID, int ServerIP, int ServerPort, bool bSecure, out int OutAuthTicketUID)
CreateServerAuthSessionfunction bool CreateServerAuthSession(UniqueNetId ClientUID, int ClientIP, int ClientPort, out int OutAuthTicketUID)
EndAllLocalClientAuthSessionsfunction EndAllLocalClientAuthSessions()
EndAllLocalServerAuthSessionsfunction EndAllLocalServerAuthSessions()
EndAllRemoteClientAuthSessionsfunction EndAllRemoteClientAuthSessions()
EndAllRemoteServerAuthSessionsfunction EndAllRemoteServerAuthSessions()
EndLocalClientAuthSessionfunction EndLocalClientAuthSession(UniqueNetId ServerUID, int ServerIP, int ServerPort)
EndLocalServerAuthSessionfunction EndLocalServerAuthSession(UniqueNetId ClientUID, int ClientIP)
EndRemoteClientAuthSessionfunction EndRemoteClientAuthSession(UniqueNetId ClientUID, int ClientIP)
EndRemoteServerAuthSessionfunction EndRemoteServerAuthSession(UniqueNetId ServerUID, int ServerIP)
FindClientAuthSessionfunction bool FindClientAuthSession(Player ClientConnection, out AuthSession OutSessionInfo)
FindLocalClientAuthSessionfunction bool FindLocalClientAuthSession(Player ServerConnection, out LocalAuthSession OutSessionInfo)
FindLocalServerAuthSessionfunction bool FindLocalServerAuthSession(Player ClientConnection, out LocalAuthSession OutSessionInfo)
FindServerAuthSessionfunction bool FindServerAuthSession(Player ServerConnection, out AuthSession OutSessionInfo)
GetServerAddrfunction bool GetServerAddr(out int OutServerIP, out int OutServerPort)
GetServerUniqueIdfunction bool GetServerUniqueId(out UniqueNetId OutServerUID)
IsReadyfunction bool IsReady()
OnAuthReadydelegate OnAuthReady()
OnClientAuthCompletedelegate OnClientAuthComplete(bool bSuccess, UniqueNetId ClientUID, Player ClientConnection, string ExtraInfo)
OnClientAuthEndSessionRequestdelegate OnClientAuthEndSessionRequest(Player ServerConnection)
OnClientAuthRequestdelegate OnClientAuthRequest(UniqueNetId ServerUID, int ServerIP, int ServerPort, bool bSecure)
OnClientAuthResponsedelegate OnClientAuthResponse(UniqueNetId ClientUID, int ClientIP, int AuthTicketUID)
OnClientConnectionClosedelegate OnClientConnectionClose(Player ClientConnection)
OnServerAuthCompletedelegate OnServerAuthComplete(bool bSuccess, UniqueNetId ServerUID, Player ServerConnection, string ExtraInfo)
OnServerAuthRequestdelegate OnServerAuthRequest(Player ClientConnection, UniqueNetId ClientUID, int ClientIP, int ClientPort)
OnServerAuthResponsedelegate OnServerAuthResponse(UniqueNetId ServerUID, int ServerIP, int AuthTicketUID)
OnServerAuthRetryRequestdelegate OnServerAuthRetryRequest(Player ClientConnection)
OnServerConnectionClosedelegate OnServerConnectionClose(Player ServerConnection)
SendClientAuthEndSessionRequestfunction bool SendClientAuthEndSessionRequest(Player ClientConnection)
SendClientAuthRequestfunction bool SendClientAuthRequest(Player ClientConnection, UniqueNetId ClientUID)
SendClientAuthResponsefunction bool SendClientAuthResponse(int AuthTicketUID)
SendServerAuthRequestfunction bool SendServerAuthRequest(UniqueNetId ServerUID)
SendServerAuthResponsefunction bool SendServerAuthResponse(Player ClientConnection, int AuthTicketUID)
SendServerAuthRetryRequestfunction bool SendServerAuthRetryRequest()
VerifyClientAuthSessionfunction bool VerifyClientAuthSession(UniqueNetId ClientUID, int ClientIP, int ClientPort, int AuthTicketUID)
VerifyServerAuthSessionfunction bool VerifyServerAuthSession(UniqueNetId ServerUID, int ServerIP, int AuthTicketUID)