Skip to content
Clone

refactor(auth): remove refresh types (inlined into impls)

zhenyi committed
parent f9c2b3c commit c92e9e4 Browse files

1 file changed

+0 −17

Deleted lib/auth/features/refresh/types.rs
@@ -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}