use crate::core::app::App;
pub struct PasswordInput {
pub app: App,
pub scopes: String,
}
impl PasswordInput {
pub fn new() -> Self{
PasswordInput{
app: App::new(),
scopes: String::new()
}
}
}
pub struct RefreshInput {
pub app: App,
pub refresh_token: String,
}
impl RefreshInput {
pub fn new() -> Self{
RefreshInput{
app:App::new(),
refresh_token: String::new()
}
}
}
pub struct AuthorizeInput {
pub app: App,
pub scopes: String,
pub code: String,
pub redirect_uri: String
}
impl AuthorizeInput {
pub fn new() -> Self{
AuthorizeInput{
app:App::new(),
scopes: String::new(),
code: String::new(),
redirect_uri: String::new()
}
}
}