AnonymousAuthMiddlewareOptions: {
    credentials: {
        anonymousId?: string;
        clientId: string;
        clientSecret: string;
    };
    fetch?: any;
    host: string;
    oauthUri?: string;
    projectKey: string;
    scopes?: string[];
    tokenCache?: TokenCache;
}

Type declaration

  • credentials: {
        anonymousId?: string;
        clientId: string;
        clientSecret: string;
    }
    • Optional anonymousId?: string
    • clientId: string
    • clientSecret: string
  • Optional fetch?: any
  • host: string
  • Optional oauthUri?: string
  • projectKey: string
  • Optional scopes?: string[]
  • Optional tokenCache?: TokenCache