Skip to main content
Required ACL: addObject, deleteIndex, editSettings

Usage

// Initialize the client
var client = new IngestionClient(
  new IngestionConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY", "ALGOLIA_APPLICATION_REGION")
);

// Call the API
var response = await client.CreateAuthenticationAsync(
  new AuthenticationCreate
  {
    Type = Enum.Parse<AuthenticationType>("Oauth"),
    Name = "authName",
    Input = new AuthInput(
      new AuthOAuth
      {
        Url = "http://test.oauth",
        ClientId = "myID",
        ClientSecret = "mySecret",
      }
    ),
  }
);
// >LOG

See the full API reference

For more details about input parameters and response fields.
I