{"repo":"minecraft-rs/minecraft-msa-auth","free":true,"listed":false,"github":"https://github.com/minecraft-rs/minecraft-msa-auth","clone":"git clone https://github.com/minecraft-rs/minecraft-msa-auth.git","description":"A library for authenticating with Microsoft accounts to access Minecraft services.","language":"Rust","stars":44,"topics":["microsoft-authentication","microsoft-authentication-library","minecraft","minecraft-auth","minecraft-authentication"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"minecraft-msa-auth This crate allows you to authenticate into Minecraft online services using a Microsoft Oauth2 token. You can integrate it with oauth2-rs and build interactive authentication flows. Example See full examples in the examples folder. HTTP clients By default the crate is asynchronous and uses reqwest to perform the authentication requests. Two cargo features change that: - ureq provides UreqClient , a synchronous client backed by ureq. - is sync turns the whole API synchronous via maybe-async: the flow methods lose their async and the reqwest implementation switches to reqwest::blocking::Client . For a small launcher that does not want an async runtime: To use any other HTTP client, disable the default reqwest feature and implement the HttpClient trait for your client of choice: What's new in 0.5 Version 0.5 removes the hard dependency on reqwest. MinecraftAuthorizationFlow is generic over an HttpClient trait, with implementations included for reqwest (the default), reqwest::blocking and ureq, and a new is sync feature makes the whole API synchronous for launchers without an async runtime. Two changes break existing code: MinecraftAuthorizationError is now generic over the client's error type, and its Reqwest variant was replaced by Http , HttpStatus and Json . Code using the default reqwest client only needs to update its error handling. See the changelog for the full list. License Except where noted (below and/or in individual files), all code in this reposit","default_branch":null,"files":null,"tree":[],"storefront":"/r/minecraft-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/minecraft-rs/minecraft-msa-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}