axios-auth-refresh
axios-auth-refresh copied to clipboard
async shouldRefresh
feature request shouldRefresh as promise
async shouldRefresh(error: AxiosError): Promise<boolean> {
const value = await localforage.getItem('refresh_token');
return Boolean(value)
}