mcvm_auth/
lib.rs

1#![warn(missing_docs)]
2
3//! This library is used by MCVM to authenticate with Minecraft using Microsoft's APIs.
4//! Although it provides the base functions for authentication, it does not string them
5//! together for you. For an example of using this crate, look at the `user::auth` module in
6//! the `mcvm_core` crate.
7//!
8//! Note: The asynchronous functions in this library expect the use of the Tokio runtime and may panic
9//! if it is not used
10
11/// Database for storing authentication information
12pub mod db;
13/// Authentication for Minecraft
14pub mod mc;
15/// Implementation of authentication with MSA for Minecraft auth
16mod mc_msa;
17/// Usage of passkeys for encoding and decoding sensitive info
18pub mod passkey;
19
20pub use rsa::{RsaPrivateKey, RsaPublicKey};