Interface PlayerLoginConnection

All Superinterfaces:
PlayerConnection, ReadablePlayerCookieConnection

public interface PlayerLoginConnection extends ReadablePlayerCookieConnection
Since:
1.21.7
  • Method Details

    • getAuthenticatedProfile

      @Nullable PlayerProfile getAuthenticatedProfile()
      Gets the authenticated profile for this connection. This may return null depending on what stage this connection is at.
      Returns:
      authenticated profile, or null if not present
      Since:
      1.21.7
    • getUnsafeProfile

      @Nullable PlayerProfile getUnsafeProfile()
      Gets the player profile that this connection is requesting to authenticate as.
      Returns:
      the unsafe unauthenticated profile, or null if not sent
      Since:
      1.21.7