Implement refresh token functionality and enhance error handling in authentication
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user