diff options
| author | 2025-01-23 18:53:50 -0600 | |
|---|---|---|
| committer | 2025-01-23 18:53:50 -0600 | |
| commit | 1ddf56ed6556b990a8c37267430e129098ba866b (patch) | |
| tree | 11ca992edf646d718882510bc2f7531fe2f89853 /src | |
| parent | fix log arg on windows (diff) | |
make auth moduleiced
Diffstat (limited to 'src')
| -rw-r--r-- | src/auth.rs | 3 | ||||
| -rw-r--r-- | src/launcher/constants.rs | 4 | ||||
| -rw-r--r-- | src/lib.rs | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/src/auth.rs b/src/auth.rs new file mode 100644 index 0000000..a11c0de --- /dev/null +++ b/src/auth.rs @@ -0,0 +1,3 @@ +struct AuthenticationDatabase {
+
+}
diff --git a/src/launcher/constants.rs b/src/launcher/constants.rs index d2f1b4f..aba0650 100644 --- a/src/launcher/constants.rs +++ b/src/launcher/constants.rs @@ -16,6 +16,8 @@ pub const NATIVES_PREFIX: &str = "natives-"; pub const DEF_INSTANCE_NAME: &'static str = "default"; pub const DEF_PROFILE_NAME: &'static str = "default"; +// https://login.live.com/oauth20_authorize.srf?client_id=00000000402b5328&redirect_uri=ms-xal-00000000402b5328://auth&response_type=token&display=touch&scope=service::user.auth.xboxlive.com::MBI_SSL%20offline_access&prompt=select_account + lazy_static! { pub static ref NATIVES_DIR_PATTERN: Regex = Regex::new("^natives-(\\d+)").unwrap(); -}
\ No newline at end of file +} @@ -2,3 +2,4 @@ mod util; pub mod version; pub mod assets; pub mod launcher; +mod auth; |
