RefreshAuthMiddlewareOptions: {
    credentials: {
        clientId: string;
        clientSecret: string;
    };
    host: string;
    httpClient?: Function;
    oauthUri?: string;
    projectKey: string;
    refreshToken: string;
    tokenCache?: TokenCache;
}

Type declaration

  • credentials: {
        clientId: string;
        clientSecret: string;
    }
    • clientId: string
    • clientSecret: string
  • host: string
  • Optional httpClient?: Function
  • Optional oauthUri?: string
  • projectKey: string
  • refreshToken: string
  • Optional tokenCache?: TokenCache