Interface PlayerLoginConnection

All Superinterfaces:
PlayerConnection, ReadablePlayerCookieConnection

public interface PlayerLoginConnection extends ReadablePlayerCookieConnection
  • 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
    • 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