AuthOptions: {
    authType?: string;
    credentials: {
        clientId: string;
        clientSecret: string;
    };
    disableRefreshToken?: boolean;
    fetch?: any;
    headers?: JsonObject<string>;
    host: string;
    projectKey?: string;
    scopes?: string[];
    token?: string;
}

Type declaration

  • Optional authType?: string
  • credentials: {
        clientId: string;
        clientSecret: string;
    }
    • clientId: string
    • clientSecret: string
  • Optional disableRefreshToken?: boolean
  • Optional fetch?: any
  • Optional headers?: JsonObject<string>
  • host: string
  • Optional projectKey?: string
  • Optional scopes?: string[]
  • Optional token?: string