aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/users')
-rw-r--r--shared/models/users/index.ts2
-rw-r--r--shared/models/users/user-login.model.ts5
-rw-r--r--shared/models/users/user-refresh-token.model.ts4
3 files changed, 11 insertions, 0 deletions
diff --git a/shared/models/users/index.ts b/shared/models/users/index.ts
index 45dbc7b8f..efb58c320 100644
--- a/shared/models/users/index.ts
+++ b/shared/models/users/index.ts
@@ -1,5 +1,7 @@
1export * from './user.model' 1export * from './user.model'
2export * from './user-create.model' 2export * from './user-create.model'
3export * from './user-login.model'
4export * from './user-refresh-token.model'
3export * from './user-update.model' 5export * from './user-update.model'
4export * from './user-update-me.model' 6export * from './user-update-me.model'
5export * from './user-role.type' 7export * from './user-role.type'
diff --git a/shared/models/users/user-login.model.ts b/shared/models/users/user-login.model.ts
new file mode 100644
index 000000000..b0383c695
--- /dev/null
+++ b/shared/models/users/user-login.model.ts
@@ -0,0 +1,5 @@
1export interface UserLogin {
2 access_token: string
3 refresh_token: string
4 token_type: string
5} \ No newline at end of file
diff --git a/shared/models/users/user-refresh-token.model.ts b/shared/models/users/user-refresh-token.model.ts
new file mode 100644
index 000000000..f528dd961
--- /dev/null
+++ b/shared/models/users/user-refresh-token.model.ts
@@ -0,0 +1,4 @@
1export interface UserRefreshToken {
2 access_token: string
3 refresh_token: string
4}