- default(instance, options): void
Parameters
- instance: XiorInstance
- options: {
refreshToken: ((error: AxiosError) => any);
shouldRefresh?: ((response: XiorResponse) => boolean);
}refreshToken: ((error: AxiosError) => any)
Optional
shouldRefresh?: ((response: XiorResponse) => boolean)
- (response): boolean
Returns boolean
Returns void