OnlineAuthInterface¶
Interface in Engine · Engine.OnlineAuthInterface · native
Using it from Lua
Enums¶
EAuthStatus
AUS_NotStarted = 0, AUS_Pending = 1, AUS_Authenticated = 2, AUS_Failed = 3
Structs¶
AuthSession
Struct extends BaseAuthSession
| Field | Type |
|---|---|
AuthStatus | EAuthStatus |
AuthTicketUID | int |
BaseAuthSession
| Field | Type |
|---|---|
EndPointIP | int |
EndPointPort | int |
EndPointUID | UniqueNetId |
LocalAuthSession
Struct extends BaseAuthSession
| Field | Type |
|---|---|
SessionUID | int |
Functions¶
| Name | Declaration |
|---|---|
AddAuthReadyDelegate | function AddAuthReadyDelegate() |
AddClientAuthCompleteDelegate | function AddClientAuthCompleteDelegate() |
AddClientAuthEndSessionRequestDelegate | function AddClientAuthEndSessionRequestDelegate() |
AddClientAuthRequestDelegate | function AddClientAuthRequestDelegate() |
AddClientAuthResponseDelegate | function AddClientAuthResponseDelegate() |
AddClientConnectionCloseDelegate | function AddClientConnectionCloseDelegate() |
AddServerAuthCompleteDelegate | function AddServerAuthCompleteDelegate() |
AddServerAuthRequestDelegate | function AddServerAuthRequestDelegate() |
AddServerAuthResponseDelegate | function AddServerAuthResponseDelegate() |
AddServerAuthRetryRequestDelegate | function AddServerAuthRetryRequestDelegate() |
AddServerConnectionCloseDelegate | function AddServerConnectionCloseDelegate() |
AllClientAuthSessions | native function iterator AllClientAuthSessions(out AuthSession OutSessionInfo) |
AllLocalClientAuthSessions | native function iterator AllLocalClientAuthSessions(out LocalAuthSession OutSessionInfo) |
AllLocalServerAuthSessions | native function iterator AllLocalServerAuthSessions(out LocalAuthSession OutSessionInfo) |
AllServerAuthSessions | native function iterator AllServerAuthSessions(out AuthSession OutSessionInfo) |
ClearAuthReadyDelegate | function ClearAuthReadyDelegate() |
ClearClientAuthCompleteDelegate | function ClearClientAuthCompleteDelegate() |
ClearClientAuthEndSessionRequestDelegate | function ClearClientAuthEndSessionRequestDelegate() |
ClearClientAuthRequestDelegate | function ClearClientAuthRequestDelegate() |
ClearClientAuthResponseDelegate | function ClearClientAuthResponseDelegate() |
ClearClientConnectionCloseDelegate | function ClearClientConnectionCloseDelegate() |
ClearServerAuthCompleteDelegate | function ClearServerAuthCompleteDelegate() |
ClearServerAuthRequestDelegate | function ClearServerAuthRequestDelegate() |
ClearServerAuthResponseDelegate | function ClearServerAuthResponseDelegate() |
ClearServerAuthRetryRequestDelegate | function ClearServerAuthRetryRequestDelegate() |
ClearServerConnectionCloseDelegate | function ClearServerConnectionCloseDelegate() |
CreateClientAuthSession | function bool CreateClientAuthSession(UniqueNetId ServerUID, int ServerIP, int ServerPort, bool bSecure, out int OutAuthTicketUID) |
CreateServerAuthSession | function bool CreateServerAuthSession(UniqueNetId ClientUID, int ClientIP, int ClientPort, out int OutAuthTicketUID) |
EndAllLocalClientAuthSessions | function EndAllLocalClientAuthSessions() |
EndAllLocalServerAuthSessions | function EndAllLocalServerAuthSessions() |
EndAllRemoteClientAuthSessions | function EndAllRemoteClientAuthSessions() |
EndAllRemoteServerAuthSessions | function EndAllRemoteServerAuthSessions() |
EndLocalClientAuthSession | function EndLocalClientAuthSession(UniqueNetId ServerUID, int ServerIP, int ServerPort) |
EndLocalServerAuthSession | function EndLocalServerAuthSession(UniqueNetId ClientUID, int ClientIP) |
EndRemoteClientAuthSession | function EndRemoteClientAuthSession(UniqueNetId ClientUID, int ClientIP) |
EndRemoteServerAuthSession | function EndRemoteServerAuthSession(UniqueNetId ServerUID, int ServerIP) |
FindClientAuthSession | function bool FindClientAuthSession(Player ClientConnection, out AuthSession OutSessionInfo) |
FindLocalClientAuthSession | function bool FindLocalClientAuthSession(Player ServerConnection, out LocalAuthSession OutSessionInfo) |
FindLocalServerAuthSession | function bool FindLocalServerAuthSession(Player ClientConnection, out LocalAuthSession OutSessionInfo) |
FindServerAuthSession | function bool FindServerAuthSession(Player ServerConnection, out AuthSession OutSessionInfo) |
GetServerAddr | function bool GetServerAddr(out int OutServerIP, out int OutServerPort) |
GetServerUniqueId | function bool GetServerUniqueId(out UniqueNetId OutServerUID) |
IsReady | function bool IsReady() |
OnAuthReady | delegate OnAuthReady() |
OnClientAuthComplete | delegate OnClientAuthComplete(bool bSuccess, UniqueNetId ClientUID, Player ClientConnection, string ExtraInfo) |
OnClientAuthEndSessionRequest | delegate OnClientAuthEndSessionRequest(Player ServerConnection) |
OnClientAuthRequest | delegate OnClientAuthRequest(UniqueNetId ServerUID, int ServerIP, int ServerPort, bool bSecure) |
OnClientAuthResponse | delegate OnClientAuthResponse(UniqueNetId ClientUID, int ClientIP, int AuthTicketUID) |
OnClientConnectionClose | delegate OnClientConnectionClose(Player ClientConnection) |
OnServerAuthComplete | delegate OnServerAuthComplete(bool bSuccess, UniqueNetId ServerUID, Player ServerConnection, string ExtraInfo) |
OnServerAuthRequest | delegate OnServerAuthRequest(Player ClientConnection, UniqueNetId ClientUID, int ClientIP, int ClientPort) |
OnServerAuthResponse | delegate OnServerAuthResponse(UniqueNetId ServerUID, int ServerIP, int AuthTicketUID) |
OnServerAuthRetryRequest | delegate OnServerAuthRetryRequest(Player ClientConnection) |
OnServerConnectionClose | delegate OnServerConnectionClose(Player ServerConnection) |
SendClientAuthEndSessionRequest | function bool SendClientAuthEndSessionRequest(Player ClientConnection) |
SendClientAuthRequest | function bool SendClientAuthRequest(Player ClientConnection, UniqueNetId ClientUID) |
SendClientAuthResponse | function bool SendClientAuthResponse(int AuthTicketUID) |
SendServerAuthRequest | function bool SendServerAuthRequest(UniqueNetId ServerUID) |
SendServerAuthResponse | function bool SendServerAuthResponse(Player ClientConnection, int AuthTicketUID) |
SendServerAuthRetryRequest | function bool SendServerAuthRetryRequest() |
VerifyClientAuthSession | function bool VerifyClientAuthSession(UniqueNetId ClientUID, int ClientIP, int ClientPort, int AuthTicketUID) |
VerifyServerAuthSession | function bool VerifyServerAuthSession(UniqueNetId ServerUID, int ServerIP, int AuthTicketUID) |