PasswordAuthMiddlewareOptions: {
    credentials: {
        clientId: string;
        clientSecret: string;
        user: UserAuthOptions;
    };
    fetch?: any;
    host: string;
    oauthUri?: string;
    projectKey: string;
    scopes?: string[];
    tokenCache?: TokenCache;
}

Type declaration

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