#![warn(missing_docs)]

//! This library is used by Nitrolaunch to authenticate with Minecraft using Microsoft's APIs.
//! Although it provides the base functions for authentication, it does not string them
//! together for you. For an example of using this crate, look at the `account::auth` module in
//! the `nitro_core` crate.
//!
//! Note: The asynchronous functions in this library expect the use of the Tokio runtime and may panic
//! if it is not used

/// Database for storing authentication information
pub mod db;
/// Authentication for Minecraft
pub mod mc;
/// Implementation of authentication with MSA for Minecraft auth
mod mc_msa;
/// Usage of passkeys for encoding and decoding sensitive info
pub mod passkey;

pub use rsa::{RsaPrivateKey, RsaPublicKey};
