Implement refresh token functionality and enhance error handling in authentication

This commit is contained in:
liosha84
2025-08-07 13:31:46 +03:00
parent 2e6f4bb870
commit c4c67e1ef1
12 changed files with 325 additions and 13 deletions
@@ -36,4 +36,7 @@ export class AuthService {
logout(): Observable<any> {
return this.http.post(AUTH_API + 'signout', { }, httpOptions);
}
refreshToken() {
return this.http.post(AUTH_API + 'refreshtoken', { }, httpOptions);
}
}