AuthMiddlewareOptions: {
    credentials: Credentials;
    fetch?: any;
    host: string;
    oauthUri?: string;
    projectKey: string;
    scopes?: string[];
    tokenCache?: TokenCache;
}

Type declaration

  • credentials: Credentials
  • Optional fetch?: any

    fix until we understand how to type the new node-fetch version

  • host: string
  • Optional oauthUri?: string
  • projectKey: string
  • Optional scopes?: string[]
  • Optional tokenCache?: TokenCache