refactor(auth): remove refresh types (inlined into impls)
zhenyi committed
Deleted lib/auth/features/refresh/types.rs lib/auth/features/refresh/types.rs +0 −17
@@ -1,17 +0,0 @@
1use serde::{Deserialize, Serialize};
2use utoipa::ToSchema;
3
4#[derive(Debug, Clone, Deserialize, ToSchema)]
5pub struct RefreshCmd {
6 pub refresh_token: String,
7 #[serde(default)]
8 pub app_id: Option<String>,
9}
10
11#[derive(Debug, Clone, Serialize, ToSchema)]
12pub struct RefreshResp {
13 pub access_token: String,
14 pub refresh_token: String,
15 pub token_type: String,
16 pub expires_in: i64,
17}