[][src]Function mojang_api::server_auth

pub fn server_auth(
    username: &str,
    server_hash: &str
) -> Result<ServerAuthResponse, AuthError>

Performs a server-side authentication request as documented at wiki.vg/Authentication. server_hash can be obtained by calling server_hash().