You've already forked AstralRinth
forked from didirus/AstralRinth
Merge tag 'v0.10.20' into beta
This commit is contained in:
@@ -11,6 +11,7 @@ pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
||||
offline_login,
|
||||
elyby_login,
|
||||
elyby_auth_authenticate,
|
||||
check_reachable,
|
||||
login,
|
||||
remove_user,
|
||||
get_default_user,
|
||||
@@ -79,6 +80,13 @@ pub async fn elyby_auth_authenticate(
|
||||
Ok(text)
|
||||
}
|
||||
|
||||
/// Checks if the authentication servers are reachable.
|
||||
#[tauri::command]
|
||||
pub async fn check_reachable() -> Result<()> {
|
||||
minecraft_auth::check_reachable().await?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Authenticate a user with Hydra - part 1
|
||||
/// This begins the authentication flow quasi-synchronously, returning a URL to visit (that the user will sign in at)
|
||||
#[tauri::command]
|
||||
|
||||
Reference in New Issue
Block a user