/// <summary> /// Authenticate with the given credentials against the database. /// </summary> /// <param name="database">The name of the database where this user is allowed.</param> /// <param name="user">The name of the existing database user.</param> /// <param name="password">The password for this user.</param> /// <returns></returns> public async Task <InfluxDbApiResponse> AuthenticateDatabaseUserAsync(string database, string user, string password) { return(await _influxDbClient.AuthenticateDatabaseUser(NoErrorHandlers, database, user, password)); }
public async Task <InfluxDbApiResponse> AuthenticateDatabaseUser(IEnumerable <ApiResponseErrorHandlingDelegate> errorHandlers, string database, string user, string password) { return(await _influxDbClient.AuthenticateDatabaseUser(errorHandlers, database, user, password)); }