feat: remove cookie on sign out

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2024-03-20 13:43:32 +01:00
committed by Patrik Oldsberg
parent 641a068514
commit a1950ad5e6
15 changed files with 169 additions and 6 deletions
@@ -330,6 +330,8 @@ export interface HttpAuthService {
): Promise<{
expiresAt: Date;
}>;
// (undocumented)
removeUserCookie(res: Response_2): void;
}
// @public (undocumented)
@@ -37,4 +37,6 @@ export interface HttpAuthService {
credentials?: BackstageCredentials<BackstageUserPrincipal>;
},
): Promise<{ expiresAt: Date }>;
removeUserCookie(res: Response): void;
}