Kronos Matchmaking
Buy NowContact
  • About
    • Kronos LTS
    • Support
    • Accolades
  • Examples
    • Playable Demo
    • Sample Project
    • Example Content
  • Configuration
  • Testing & Debugging
  • Usage
    • Getting Started
    • Authentication
      • Authenticating Users
      • Customizing The Auth Widget
      • Creating Custom Auth Tasks
    • Matchmaking
      • Overview
      • Creating Matches
      • Starting Matchmaking
      • Canceling Matchmaking
      • Using Skill Ratings
      • Sending Match Invites
      • Joining Matches
      • Leaving Matches
    • Party
      • Overview
      • Creating Parties
      • Sending Party Invites
      • Joining Parties
      • Managing Party Players
      • Party Player Actors
      • Leaving Parties
    • Reservations
      • Overview
      • Using Reservations
      • The Host Reservation
      • Completing Reservations
    • Lobby
      • Overview
      • Lobby Setup
      • Set Players Ready
      • Lobby Player Data
      • Starting The Match
      • Updating Lobby Session
      • Leaving The Lobby
    • Widgets
  • Guides
    • Creating a Level Selector
    • Integrating with Lyra Game
    • Integrating with EIK
  • Advanced
    • Steam Sockets
    • Reconnect Parties
    • Custom Party Variables
    • Player Groups
  • Changelog
    • API Upgrades
    • Legacy
Powered by GitBook
On this page
  • Creating The Auth Widget
  • Overriding The Auth Widget
  1. Usage
  2. Authentication

Customizing The Auth Widget

PreviousAuthenticating UsersNextCreating Custom Auth Tasks

Last updated 10 months ago

The plugin comes with a convenient KronosUserAuthWidget class that you can use to create your own authentication widget.

Creating The Auth Widget

First, create a blueprint from the KronosUserAuthWidget class. The blueprint will turn into a widget that you can edit in Unreal.

You can customize the widget in any way you want. There are no hard requirements. You will most likely want to have at least one Text that will be used to display the current authentication state. You can use the following events to update parts of your widget (e.g. the auth state text):

  • OnUserAuthStarted: Event when user authentication is started.

  • OnUserAuthStateChanged: Event when user authentication state is changed.

  • OnUserAuthComplete: Event when user authentication is complete.

Overriding The Auth Widget

Once you have your custom authentication widget, you will need to open your KronosUserManager blueprint and change the "Auth Widget Class".

In case authentication fails make sure that you give the user a way to retry authentication such as displaying a button, or awaiting an input prompt. The has an in-depth example for a custom auth widget.

Sample Project