mirror of
https://github.com/nab138/isideload.git
synced 2026-03-02 14:36:16 +01:00
add developer session struct
This commit is contained in:
13
isideload/src/dev/developer_session.rs
Normal file
13
isideload/src/dev/developer_session.rs
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
use std::sync::Arc;
|
||||||
|
|
||||||
|
use crate::auth::apple_account::AppleAccount;
|
||||||
|
|
||||||
|
struct DeveloperSession {
|
||||||
|
apple_account: Arc<AppleAccount>,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl DeveloperSession {
|
||||||
|
pub fn new(apple_account: Arc<AppleAccount>) -> Self {
|
||||||
|
DeveloperSession { apple_account }
|
||||||
|
}
|
||||||
|
}
|
||||||
1
isideload/src/dev/mod.rs
Normal file
1
isideload/src/dev/mod.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
pub mod developer_session;
|
||||||
@@ -5,6 +5,7 @@ use rootcause::{
|
|||||||
|
|
||||||
pub mod anisette;
|
pub mod anisette;
|
||||||
pub mod auth;
|
pub mod auth;
|
||||||
|
pub mod dev;
|
||||||
pub mod util;
|
pub mod util;
|
||||||
|
|
||||||
#[derive(Debug, thiserror::Error)]
|
#[derive(Debug, thiserror::Error)]
|
||||||
|
|||||||
Reference in New Issue
Block a user