AwaitAuthentication (Unreal Engine)

- Declaration (C++)

static void AwaitAuthentication(CavrnusAuthRecv OnAuth);

Delegates Types:

typedef TFunction<void(const FCavrnusAuthentication&)> CavrnusAuthRecv;

- Declaration (Blueprints)

static void AwaitAuthentication(FCavrnusAuthRecv OnAuth);

Delegates Types:

DECLARE_DYNAMIC_DELEGATE_OneParam(FCavrnusAuthRecv, FCavrnusAuthentication, Auth);

- Description

Throws an event when user authentication is complete.

This will trigger alongside the OnSuccess from AuthenticateWithPassword (LINK) or AuthenticateAsGuest (LINK). It doesn’t know or care which method is used.

OnAuth provides a FCavrnusAuthentication (LINK) which you can then store/load on your local machine to use on a future run without requiring the user to re-login.

- Blueprint Sample

- Code Sample

TODO: WRITE