UNPKG

@infosel-sdk/core

Version:

Core SDK for Infosel financial services platform. Provides essential infrastructure for authentication, HTTP/GraphQL communication, storage management, and error handling.

6 lines (5 loc) 291 B
import { GenericError } from '../../errors'; export default interface AuthInterceptor<HttpInstance, RequestConfig, Response> { tokenInterceptor(requestConfig: RequestConfig): Promise<RequestConfig>; errorInterceptor(instance: HttpInstance, error: GenericError): Promise<Response>; }