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

Type declaration

  • credentials: Credentials
  • Optionalfetch?: any

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

  • host: string
  • OptionaloauthUri?: string
  • projectKey: string
  • Optionalscopes?: string[]
  • OptionaltokenCache?: TokenCache