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

  • OptionalauthType?: string
  • credentials: { clientId: string; clientSecret: string }
  • OptionaldisableRefreshToken?: boolean
  • Optionalfetch?: any
  • Optionalheaders?: JsonObject<string>
  • host: string
  • OptionalprojectKey?: string
  • Optionalscopes?: string[]
  • Optionaltoken?: string