1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-07 20:40:05 +00:00

chore: fetch username for Redirected-Login and return

This commit is contained in:
Saad Jutt
2021-09-07 05:26:42 +05:00
parent 0972c0deaa
commit a1f5355d6a
4 changed files with 48 additions and 37 deletions

8
src/types/Login.ts Normal file
View File

@@ -0,0 +1,8 @@
export interface LoginOptions {
onLoggedOut?: () => Promise<boolean>
}
export interface LoginReturn {
isLoggedIn: boolean
userName: string
}

View File

@@ -1,3 +0,0 @@
export interface LoginOptions {
onLoggedOut?: () => Promise<boolean>
}