Skip to main content

validate_login_security

Function validate_login_security 

Source
pub const fn validate_login_security(
    online_mode: bool,
    encryption: bool,
) -> Result<(), &'static str>
Expand description

Validates the login settings that establish a player’s authenticated identity.

§Errors

Returns an error when online mode could accept a client-supplied UUID without completing the encryption-backed hasJoined flow.